Changing the color of one button in main menu

  • Posted in : Bloggy WP
  • linco
    Participant

    Hi there,
    I would like to change color of one button in main menu
    Please see my site http://www.smarthappy.eu/
    It is the Ebook button. I would like it darker.
    Thanks for advice
    Peter

    Mehmet S.
    Keymaster

    Hi, use this in your theme option > custom css box:

    .menu-custom #menu-item-3343 a { background-color: #c9c9c9; }
    

    Thanks

    linco
    Participant

    I used the code and there is no change. What can be wrong?

    Mehmet S.
    Keymaster

    Try this:

    ul.menu-custom #menu-item-3343 a { background-color: #c9c9c9; }
    
    linco
    Participant

    still no change

    Mehmet S.
    Keymaster

    Try this:

    .main-navigation > ul > li:nth-child(5) > a {
    background-color: #c9c9c9;
    }
    
    linco
    Participant

    well nothing changed, any other idea?

    ahmetsali
    Keymaster

    Hi, you have a redundant “c” character just before this code in your custom css code, remove that “c” character and it should work.

    .form-allowed-tags { display: none; }c ***remove this
    
    .main-navigation > ul > li:nth-child(5) > a {
    background-color: #ffcc00;
    }
    
Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register