• Resolved folal01

    (@folal01)


    Here is the CSS I am using, change menu colour to black and background colour to white works fine, however colour is not changing to black on hover and stays white, I am using the following CSS

    /* Change colour of background of top header menu */
    .page nav.navbar.navbar-custom{
    background: #ffffff !important;
    }
    /* Change colour of menu text on top header menu */
    .navbar-custom .nav li > a{
    color: #000000;
    }
    /*Change menu colour on hover – does not seem to work */
    .navbar-custom .nav li > a:hover {
    transition: 0.3s ease;
    background: #fff;
    color: #000;
    font-size: 15px;
    text-decoration: none;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    padding: 10px 0;
    margin: 0 20px;
    }

    any help appreciated
    Thanks

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter folal01

    (@folal01)

    Solved thanks to Uriahs Victor

    Simply adding !important; after the color fixed the problem

    color: #000 !important;

    Thank you Uriahs Victor

    Glad to know Uriahs helped you with the issue. Thanks for sharing the solution here with others. 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Menu colour does not change on hover’ is closed to new replies.