Home Forums WoodMart support forum hot to select the main menu links text in css

hot to select the main menu links text in css

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #117749

    voltcandy
    Participant

    Hello
    I am trying to change the main menu links text without affecting the hover color or the active link color or the dropdown menu text color.

    I tried

    .nav-link-text a:link {
        color: red;  
    }

    but is is not working

    #117781

    Hello,

    Please add this code to the Theme Settings > Custom CSS > Global:

    body .whb-color-dark .navigation-style-default .item-level-0>a {
        color: #333;
    }

    Replace the color as per your needs.

    Best Regards

    #117860

    voltcandy
    Participant

    thank you but it didn’t work.

    Attachments:
    You must be logged in to view attached files.
    #117931

    Hello,

    Please replace the code and add your color:

    body .whb-color-dark .navigation-style-default .item-level-0>a span {
        color: red;
    }

    Best Regards

    #118332

    voltcandy
    Participant

    Thank you. this worked but the hover action disappeared.

    #118351

    Hello,

    Please add this code to the Theme Settings > Custom CSS > Global:

    body .whb-color-dark .navigation-style-default .item-level-0>a:hover span {
        color: red;
    }

    Best Regards

Viewing 6 posts - 1 through 6 (of 6 total)