-
AuthorPosts
-
April 23, 2015 at 2:41 pm #256899
murraymillionParticipantWe referred to this thread which worked well for our icons: https://theme.co/x/member/forums/topic/mobile-menu-dropdown-icon-colour/
We need the mobile version dropdown menu text to be blue instead of the default color because while the menu is there, it looks invisible. Is there a way to change color for the navmenu text?
April 23, 2015 at 6:58 pm #257044
Prasant RaiModeratorHello There,
Thanks for writing in!
You can add this under Custom > CSS in the Customizer:
.x-navbar .mobile .x-nav li>a { color: #A64F4F !important; }Note: Change the color code as per your requirement.
Hope that helps.
Thanks.
April 23, 2015 at 7:55 pm #257085
murraymillionParticipantThanks! That works, of course 🙂
April 23, 2015 at 9:26 pm #257150
FriechModeratorGlad we could help, Cheers!
April 24, 2015 at 10:30 am #257620
murraymillionParticipantWe did run into a complication regarding the mobile mega-menu submenu dropdown color.
Screenshot: http://imgur.com/ICQgapW
The first part is transparent with with colored text, the submenu is the same as the desktop version color. The desktop coloring would actually be better, it is much easier to see except there is no text. Ideally the mobile menu to be consistent, not two different colors.
Any advice?
Thanks!
April 24, 2015 at 1:19 pm #257741
murraymillionParticipantThis reply has been marked as private.April 24, 2015 at 5:12 pm #257866
FriechModeratorHi There,
You make the mobile submenu transparent by adding the below code on custom css
@media (max-width: 979px) { .x-navbar .sub-menu { background-color: transparent; } }Maybe you might need to change the text color to something darker so it would be more visible.
Cheers!
April 27, 2015 at 11:17 am #259716
murraymillionParticipantWe implemented the code to match the mobile submenu transparency, and that worked. The result is still blending too much with the background, we need a way to make the mobile navigation menu to match the desktop styling which is a dark blue color, so that it is more readable. Also we are thinking that the mobile submenu would be better if it was disabled, if that’s possible…
April 27, 2015 at 2:50 pm #259867
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.
.x-navbar-inner { background: #06122a; } ul#menu-navigation-1 li a{ color:#888888!important; } ul#menu-navigation-1 li a:hover{ color:#ffffff!important; }To hide submenu in mobile, you can use this:
ul.sub-menu.sm-0, ul.sub-menu.sm-1, ul.sub-menu.sm-2, ul.sub-menu.sm-3 { display:none; } i.x-icon.x-icon-angle-double-down:before { display:none; }Hope this helps – thanks!
April 27, 2015 at 2:50 pm #259868
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.
.x-navbar-inner { background: #06122a; } ul#menu-navigation-1 li a{ color:#888888!important; } ul#menu-navigation-1 li a:hover{ color:#ffffff!important; }To hide submenu in mobile, you can use this:
ul.sub-menu.sm-0, ul.sub-menu.sm-1, ul.sub-menu.sm-2, ul.sub-menu.sm-3 { display:none; } i.x-icon.x-icon-angle-double-down:before { display:none; }Hope this helps – thanks!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-256899 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
