- This topic has 2 replies, 2 voices, and was last updated 1 year ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Home › Forums › Pro Themes › Pet Business Pro › Anchor links with different color background in menu
Tagged: anchor-links, Menu Background Color
All links in main menu which are anchor links are showing with orange background instead of white background. Is it possible to leave everything in the default with white in the background?
Please add this CSS in the Additional CSS
.main-navigation ul#primary-menu ul li.current-menu-item > a, .main-navigation ul#primary-menu ul li:hover > a, .main-navigation ul#primary-menu ul li:focus > a{
background: #fff !important;
color: orange !important;
}
.main-navigation ul#primary-menu ul li.current-menu-item > a, .main-navigation ul#primary-menu ul li:hover > a, .main-navigation ul#primary-menu ul li:focus > a{
background: #fff !important;
color: #000 !important;
}
.main-navigation ul#primary-menu ul li.current-menu-item > a:hover,
.main-navigation ul#primary-menu ul li:hover > a:hover,
.main-navigation ul#primary-menu ul li:focus > a:hover{
background: #fff !important;
color: orange !important;
}
Worked perfectly. Thank you very much!
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |