- This topic has 1 reply, 2 voices, and was last updated 8 years, 2 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forums › Free Themes › Biography › Change Background Color of One Menu Item
Tagged: biography, custom css
Hello:
I have the need to change only one menu item’s background on a client’s site. I have used the custom CSS properties to declare a new class “.redback” and to insert a new CSS style like thus:
.biography-nav-left .main-navigation .redback a {
color: #000 !important;
background-color: #green;
border-radius: 10px, 10px, 10px, 10px;
}
I, however, have been unsuccessful in changing the element. The Site is http://www.donnahecker.com and I need to change the “Donate” background to say, White text and a Green or Blue background.
Thank you!
Jonathan Gaby
Hello,
There are some issues on your custom css, we have fixed the CSS, you can copy and paste the below given CSS to Dashboard -> Appearance -> Customize -> Theme Options -> Custom CSS
.biography-nav-left .main-navigation .redback a {
color: #000 !important;
background-color: #993300;
border-radius: 15px 50px 30px 5px;
}
Note: The color value is in hex. You can easily generate the hex value for your required color from,
http://www.w3schools.com/colors/colors_picker.asp
Hope it helps.
Best regards.
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. |