Tagged: x
-
AuthorPosts
-
March 2, 2017 at 3:55 pm #1392456
MattHollParticipantI’m trying to independently control the dropdown menu colors.
See attached.
Website is here:
http://www.hrvatskohomebrewprvenstvo.beer/
So, basically when you have a dropdown menu, you have different levels of menus nested inside of each other. I would like to control each of those levels so when I click on one dropdown and another dropdown pops up that it is a slightly different color from the first dropdown level.
In the CSS I have this code:
.x-navbar .desktop .sub-menu a {
color: rgb(38, 48, 89);
}I tried removing the a so it’s just .sub-menu and thought that might be the base level, but no. And I tried putting a b there thinking maybe b would be the second level of dropdowns.
No luck.
Any help is appreciated. Thanks!
March 2, 2017 at 11:09 pm #1392914
RupokMemberHi there,
Thanks for writing in! You can add this under Custom > CSS in the Customizer.
/* first level submenu */ .x-navbar .desktop .sub-menu a { color : #f54; } /* second level submenu */ .x-navbar .desktop .sub-menu .sub-menu a { color : #333; } /* third level submenu */ .x-navbar .desktop .sub-menu .sub-menu .sub-menu a { color : #eee; }Hope this helps.
Cheers!
March 3, 2017 at 3:17 am #1393082
MattHollParticipantGreat! Thanks!
March 3, 2017 at 5:28 am #1393159
FriechModeratorYou’re more than welcome, glad we could help.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1392456 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
