-
AuthorPosts
-
September 17, 2019 at 5:18 am #1139006
Hi
I’m trying to change the color of one menu item (first one phone number) to stand up more by using CSS Class( special-color) under menu options. Then I’m adding the code that is below to quick css. I tried few times and nothing seems to work to change just the color of first menu item. Can you help with that? Thank you(833) 4-TelCom
Custom Link ↑ | ↓Edit Menu Item
URL
#
Navigation Label
(833) 4-TelCom
Title Attribute
CSS Classes (optional)
special-color
Menu Style———
special-color {
color: ##e3622b !important;
}This is my whole quick css
.home main {
padding-top:0 !important;
}.avia-content-slider .slide-meta { display: none; }
.text-slider .maintitle, .text-slider .subtitle {
text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.5) !important;
}#menu-item-383 > a > .avia-menu-text { color: #c3512f; }
#top #wrap_all .header_color .av-menu-button-colored > a .avia-menu-text {
background: transparent;
color: #333333;
border-bottom: 0px !important;
}a:hover .avia-menu-text {
background-color: #0e76bc !important;
color: #fff !important;
}.sub-menu > li > a {
opacity:1;}
.sub-menu > li:hover > a {
color: #ffffff !important;
font-weight: bold !important;
background: #0e76bc !important;
border: #333333 !important;
}.post-meta-infos{
display: none;
}.avia-content-slider .slide-entry .slide-content {
color: #555555;
}.avia-content-slider .slide-entry-title {
font-size: 16px;
color: #333333 !important;
}.center_this {
left: 50%;
transform: translateX(-50%);
}special-color {
color: ##e3622b !important;
}September 18, 2019 at 11:51 am #1139420Hey ilonka78,
Please try this CSS instead:
.special-color .avia-menu-text { color: #e3622b !important; }
Best regards,
RikardSeptember 18, 2019 at 3:09 pm #1139514Hi
Unfortunately it doesn’t work. Any other ideas? There is something wrong in my code.
One more thing is that when I mouse over first item it highlights and it shouldn’t.Thank you
- This reply was modified 5 years, 2 months ago by ilonka78.
September 21, 2019 at 6:41 pm #1140494Hi,
Sorry for the late reply, to change the color of the phone number and remove the hover background color, Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:.special-color a .avia-menu-text { color: #e3622b !important; } .special-color a:hover .avia-menu-text { background-color: transparent !important; color: #e3622b !important; }
Then clear your browser cache and any cache plugin, and check.
If this doesn’t help, please include an admin login in the private content area so we can be of more assistance.Best regards,
MikeSeptember 23, 2019 at 2:29 am #1140803Hi
This also doesn’t work.
I will include login info in the private section. Thank youSeptember 23, 2019 at 3:10 am #1140806Hi,
Thank for the login, I found your issue is your plugin Hummingbird while the caching is off the minifying is on, if you look at the admin bar for your site you will see a option “see this page unminified” and if you click it the css will work.
Please see the screenshots & link in the Private Content area.
So please clear this or disable it.Best regards,
MikeSeptember 23, 2019 at 3:20 am #1140808Great. Thank you so much. I would not think that was causing the issue.
It looks great now.September 23, 2019 at 11:19 am #1140982 -
AuthorPosts
- You must be logged in to reply to this topic.