How to change Main menu link colours? - by fredwerk

Solved3 replies3 participantsUpdated by DeathByDisco

  • Avatar: fredwerk
    fredwerk
    Participant

    Hi,

    I have made a custom.css file, added
    .header-type-7 .top-bar {background-color: #a9d189; border-bottom: 1px solid #dbdbdb;}

    And activated the option for custom.css however the changes do not appear.

    Am I doing something wrong? I have Legenda 2.2

    3 Answers

    Avatar: Eva
    Eva Kemp
    Participant

    Hello,

    Please clarify: do you wish to change the color of the links hover?

    Regards,
    Eva Kemp.

    Avatar: fredwerk
    fredwerk
    Participant

    Hi,

    Yes, specially for the menu.

    I set it up for a blue colour and when rolling over menu, I want it to be green.

    Avatar: DeathByDisco
    DeathByDisco
    Participant

    Hi fredsarran,

    you need to add the following line of code to your custom css file:

    .menu > li > a:hover, .menu ul > li > a:hover {
    color:#ff0000!important;
    }

    replace the HEX code with the color code of your choice …

    this is for the main menu links – .menu > li > a:hover

    and this is for the flyout menu (subpages) – .menu ul > li > a:hover

The issue related to '‘How to change Main menu link colours?’' has been successfully resolved, and the topic is now closed for further responses