Tagged: x
-
AuthorPosts
-
April 11, 2016 at 3:42 am #876115
michaellanfieldParticipantI have a question. For the drop down menu, for one of the menu pages/items I would like the entire menu item (not text) colour to be different, to stand out from the rest of the drop down menu items. How to do this? Thank you.
April 11, 2016 at 8:19 am #876392
ThaiModeratorHi There,
Please add the following CSS under Customizer > Custom > Edit Global CSS:
body .x-navbar .sub-menu { background-color: #f0f0f0 !important; }Hope it helps 🙂
April 11, 2016 at 11:47 am #876757
michaellanfieldParticipant🙁 Doesn’t seem to work.
April 11, 2016 at 9:40 pm #877499
ChristianModeratorHey Michael,
Can you give us a screenshot showing what menu item you would like to change the background?
Thanks.
April 11, 2016 at 11:51 pm #877628
michaellanfieldParticipantThis reply has been marked as private.April 12, 2016 at 7:34 am #878163
ZeshanMemberHi Michael,
Please use following CSS code instead:
.masthead-inline .x-navbar .desktop .menu-item-148 .sub-menu { background-color: #ff0000 !important; }Replace #ff0000 with your desired color (you can generate hex color codes from here).
Thank you!
April 12, 2016 at 10:25 am #878479
michaellanfieldParticipantDoesn’t work.
April 12, 2016 at 9:39 pm #879249
John EzraMemberHi there,
Thanks for updating the thread! You can add this under Custom > CSS in the Customizer or in your child theme’s style.css file.
.masthead-inline .x-navbar .desktop .menu-item-148 .sub-menu { background-color: #ff0000 !important; } li#menu-item-148 a { color: #ff0000; } .menu-item-148 .sub-menu a span { color:#ffffff; }Just change the color values as you see fit. I have tested this via your custom CSS area in the customizer and it works.
Hope this helps – thanks!
April 12, 2016 at 10:38 pm #879314
michaellanfieldParticipantThe whole Media menu is red, including the media link. I just wanted Webinar to be red and not anything else. 🙂
April 13, 2016 at 6:47 am #879840
Paul RModeratorHi,
You can try this code instead.
body .x-navbar .menu-item-3092 a { color:red; }Hope that helps.
April 13, 2016 at 11:02 am #880289
michaellanfieldParticipantnope
April 13, 2016 at 8:18 pm #881224
DarshanaModeratorHi there,
Please try the following CSS rule.
.x-nav-wrap.desktop .sub-menu .menu-item-3092 { background-color: #ff0000; } .x-nav-wrap.desktop .sub-menu .menu-item-3092 a { color: #fff; }Hope that helps.
April 13, 2016 at 11:51 pm #881433
michaellanfieldParticipantAlmost exactly the way I like it, but is there a way to make it so the whole webinar row is red?
April 14, 2016 at 3:59 am #881803
LelyModeratorHi Michael,
Please use this CSS:
li#menu-item-148 > ul { padding-left: 0; padding-right: 0; } li#menu-item-148 > ul > li { padding-left: 1.75em; padding-right: 1.75em; }Hope this helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-876115 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
