Tagged: x
-
AuthorPosts
-
June 6, 2016 at 11:05 am #1028262
belayachimarouaneParticipantHello,
I have a problem with sub menus not having the same size as the main menu item. I also would love the change the background of the menu and the color of the text.
Thanks a lot
June 6, 2016 at 11:06 am #1028265
belayachimarouaneParticipantThis reply has been marked as private.June 6, 2016 at 12:05 pm #1028355
belayachimarouaneParticipantI also would love to keep the menu items highlights when it’s sub menu is opened.
Thanks a lotJune 6, 2016 at 1:00 pm #1028426
ThaiModeratorThis reply has been marked as private.June 6, 2016 at 2:19 pm #1028543
belayachimarouaneParticipantThis reply has been marked as private.June 6, 2016 at 10:49 pm #1029247
FriechModeratorHi There,
Thanks for the credentials. Navbar Links color and Navbar Links Hover color, can be change on Customizer under the Header panel.
To change the Navbar background color, you can add this under Custom > CSS in the Customizer.
.x-navbar-inner { background-color: red; }Replace the red with your preferred color.
Actually the main menu and submenu has the same size (12px), but the main menu are all uppercase hence it looks bigger.
Add this custom CSS to make the submenu uppercase as well.
.desktop .sub-menu a { text-transform: uppercase; letter-spacing: 1px; }Hope it helps, Cheers!
June 7, 2016 at 2:35 pm #1030490
belayachimarouaneParticipantHello, it’s not the navbar color that I want to change.
Let’s say I want to go to a page in the sub menu, I want the main menu item to be highlighted while visiting the sub menu pages.
Thank you
June 7, 2016 at 2:40 pm #1030504
belayachimarouaneParticipantI want to know how to keep the current menu item navbar highlighted on visiting sub menu pages…
Many thanks
June 8, 2016 at 1:52 am #1031350
Paul RModeratorHi,
You can add this under Custom > Edit Global Javascript in the Customizer.
jQuery(function($) { $('.current-page-parent').addClass('current-menu-item'); });Hope that helps.
June 8, 2016 at 2:26 am #1031392
belayachimarouaneParticipantHello,
Thank you for helping me out but the code didn’t work. 🙁
June 8, 2016 at 9:56 am #1031986
LelyModeratorHi There,
Please try to update above code to this:
jQuery(function($) { $('.current-menu-parent').addClass('current-menu-item'); });Hope this helps.
June 8, 2016 at 12:36 pm #1032330
belayachimarouaneParticipantFantastic thank you!
June 8, 2016 at 2:18 pm #1032505
Prasant RaiModeratorYou are most welcome. 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1028262 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
