• youcanescapetheratrace

    (@youcanescapetheratrace)


    Hi

    I’m trying to add colour around my top menu item ‘start here’ and have included the following code in additional CCS. Can you please let me know if this is correct?

    /*

    .navigation-top {
    Background-color:#666;
    }
    .Start Here {
    Background-color: #ff0099;
    Border-radius:5px;
    }

    Click the help icon above to learn more.
    */

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • TUT Support

    (@phpexpert21)

    Hello youcanescapetheratrace,

    I am not sure what are you trying to achieve with the above css. I am providing you the css to make the first menu start here (background red with white text).

    Please apply the given css in additional css-

    li#menu-item-176 {
    background: red !important;
    }
    li#menu-item-176 a {
    color: white !important;
    }
    

    I hope the above was helpful.

    Kind regards,

    Manoj

    Thread Starter youcanescapetheratrace

    (@youcanescapetheratrace)

    Thanks Manoj.

    When I try to paste the additional ccs in without a “/*”on the first line I get an error message saying:

    “There are 2 errors which must be fixed before you can save”. I can update anyway, even though it might break my site but that sounds dangerous.

    But if I have the code
    /*
    li#menu-item-176 {
    background: red !important;
    }
    li#menu-item-176 a {
    color: white !important;
    }

    Then nothing happens. If it take away the /* on the first line then the first menu item highlights itself in red.

    Please help!

    TUT Support

    (@phpexpert21)

    Hello youcanescapetheratrace,

    /* */ These are the multi line comments what ever comes in between them did not affect the site. So when you put that without comment that works. Let me know what you want to do with menu so i can provide you custom css as per the need.

    Kind regards,

    Manoj

    Thread Starter youcanescapetheratrace

    (@youcanescapetheratrace)

    Hi Manoj

    For my main menu, I want the first item on the left ‘start here’ to stand out in terms of color.

    What is the custom css to do this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Change color of menu item’ is closed to new replies.