-
AuthorPosts
-
October 21, 2016 at 6:43 pm #979141
Compliments of the day,
Please how do I change the color of the Main menu background color as well as the color of the active menu item?
Regards
Hassan
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
October 21, 2016 at 8:05 pm #979167Hi
If you want your mainmenu as showed in image below then add this to your custom.css
.navbar-default .navbar-nav > li > a { color:#ffffff!important; } .navbar-default .navbar-nav { background:#333333; }
October 22, 2016 at 11:25 am #979219Hello Pavit,
Thanks for your response.
- After applying the codes you sent above, the left and right ends of the nav bar are still not affected.
- How can the background and font color of the active menu item be adjusted?
Regards
Hassan
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
October 22, 2016 at 2:35 pm #979250Hi
Regarding main nav left and right you can apply this code to your custom.css file
.t3-mainnav { background:#A8CF45!important; }
Regarding active item menu , could you describe how it should behaves ? which color you want it to be ?
October 23, 2016 at 6:22 pm #979431Hello Pavit,
Thanks for your assistance.
I will like Active menu to have White Background and Green font.
Regards
Hassan
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
October 23, 2016 at 7:31 pm #979437Hi there
add below code to custom.css
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus { color: #A8CF45!important; background-color: #ffffff!important; } .navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > .separator, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > .separator:hover, .navbar-default .navbar-nav > .open > a:focus, .navbar-default .navbar-nav > .open > .separator:focus { background-color: #ffffff!important; color: #A8CF45!important; } .navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > .separator:hover, .navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > li > .separator:focus { color: #ffffff; background-color: #ffffff!important; }
Regards
October 23, 2016 at 7:50 pm #979440Thanks a lot Pavit.
Will do that now.
Kind regards
Hassan
AuthorPostsViewing 7 posts - 1 through 7 (of 7 total)This topic contains 6 replies, has 2 voices, and was last updated by habdul 8 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum