John Hopkins
asked on
Why is this Wordpress mobile menu not following the CSS?
http://hakutah.com/
Take a look at mobile menu. The text is white. The CSS is set to have the text as a dark brown color but something seems to be overriding it.
Here is the CSS that I believe SHOULD be working. In firebug, I see no other CSS that is taking priority, but something certainly is.
.et_mobile_nav_menu a {
color:#31180D !important;
}
I'm no CSS genius, and I'm sure I'm overlooking something obvious, but it escapes me. Lastly, I didn't design or build this site, so while I'm familiar with the tools, I don't know what else could be causing this issue.
Take a look at mobile menu. The text is white. The CSS is set to have the text as a dark brown color but something seems to be overriding it.
Here is the CSS that I believe SHOULD be working. In firebug, I see no other CSS that is taking priority, but something certainly is.
.et_mobile_nav_menu a {
color:#31180D !important;
}
I'm no CSS genius, and I'm sure I'm overlooking something obvious, but it escapes me. Lastly, I didn't design or build this site, so while I'm familiar with the tools, I don't know what else could be causing this issue.
Ignore that, I now see you meant the actual text of the menu ITEMS, not the menu link itself.
In which case there's an additional !mportant tag overriding yours in the et-core:
In which case there's an additional !mportant tag overriding yours in the et-core:
.et_pb_fullwidth_menu_0.et_pb_fullwidth_menu ul li a {
font-size: 15px;
color: #ffffff!important
}
ASKER
Thanks, @Snarf001.
That makes some sense to me, but the color that code is pushing is #2ea3f2 (blue), while the text on the menu is either white or transparent. Is it the et-core-unified code that is causing it to be white?
This site uses divi and has a plugin for the mobile menu. Both of those have the text set to be something that is not white.
OK, just saw your last message. I'll look into this.
That makes some sense to me, but the color that code is pushing is #2ea3f2 (blue), while the text on the menu is either white or transparent. Is it the et-core-unified code that is causing it to be white?
This site uses divi and has a plugin for the mobile menu. Both of those have the text set to be something that is not white.
OK, just saw your last message. I'll look into this.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
The color for both is being overridden in style.css:
Open in new window
and then the hamburger icon is being overridden again in et-core-unified:
Open in new window