Hi!
I have two buttons in my main menu of a barber website. One button is to “book haircut” and the other is to “book training.” I need to change the color of the “book training” button to #6c0f1b, but I cannot figure out how to with CSS. I also need to change the text color for the hover state for both buttons.
Help!
Hey ceakins1908,
Try this css in your Quick CSS:
#top #wrap_all .header_color #menu-item-30.av-menu-button-colored > a .avia-menu-text {
background-color: #6c0f1b;
border-color: #6c0f1b;
}
#top #header.header_color.av_header_transparency .av-main-nav > li.av-menu-button-colored > a:hover .avia-menu-text {
color: #000;
}
Adjust the black hover color to suit, then clear your cache and check.
Best regards,
Mike
Thanks, Mike! That worked. You can close this ticket.
Wait! I spoke too soon.
I need to do the same thing with changing the button color for training on the mobile view. What would be the CSS for that?
Hi,
For mobile add this css:
#top #wrap_all .header_color .menu-item-30.av-menu-button-colored > a .avia-menu-text {
background-color: #6c0f1b;
border-color: #6c0f1b;
}
#top #wrap_all .header_color .av-menu-button-colored > a:hover .avia-menu-text {
color: #000;
}
Please note that mobile devices don’t have a hover rule, but the color changes on click, like the desktop hover, adjust to suit.
Best regards,
Mike
Thank you, Mike! This worked. You may close this ticket.
