Home Forums Free Themes Biography Change Background Color of One Menu Item

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #14982
    jdgaby
    Participant

    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

    #15035
    wensolutions
    Keymaster

    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.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.