We moved to new unified forum!

Please post all new support queries in our New Forum.

T3 Community Discussion & Support

Let's build the best free Joomla template framework, together!
  1. Carel Mobach
  2. General Discussion
  3. Wednesday, 11 June 2014
  4.  Subscribe via email
Hi,

I am completely new to T3 and I have been trying to alter the background color of the megamenu dropdown. I accomplished this by putting this code into
\templates\t3_bs3_blank\css\custom.css

.mega-dropdown-menu {
background-color: #669999;
}

The issue is, It seems that custom.css only works in the "main" directory (templates\t3_bs3_blank\css) and not in the "theme" directories e.g. "templates\t3_bs3_blank\css\themes\red" . is that normal behavior / as designed ?
(of course I set T3 to use the "red" theme).

Tnx, Carel.
Comment
There are no comments made yet.
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Carel,

Welcome to T3 Framework community.

For your question, to change background color of megamenu dropdown, please open the custom.css file then add the following css rule:

.t3-megamenu .mega.open > .mega-dropdown-menu, .t3-megamenu .mega.dropdown-submenu.open > .mega-dropdown-menu {
background: #000;
}


You can change the color to whatever you want.

Gardner.
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Thanks a lot Gardner, that .css is much better than mine !,

However, my question was merely where the custom.css should/can be placed to be picked up by T3.

I "think" you can have only one custom.css, located under \templates\t3_bs3_blank\css\. It will be picked up for all themes. ?
I "think" you can not have a custom.css specific for a theme ? and as such located in templates\t3_bs3_blank\css\themes\red (if you select the red theme) or generally in : templates\t3_bs3_blank\css\themes\<theme name> ?

Not a big deal for me, but I was wondering if I did miss something.

gr, Carel.
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Yes, you have it exactly right.

As far as I know, the only customizable files in the <theme name> directories are the LESS files in \templates\t3_bs3_blank\less\themes\<theme name> where several Less files are generated by default.
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
That's right Michael. If you have any more concern, let me know. I am willing to help you.
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 4
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.