Sticky menu text colour - by DavidNL - on WordPress WooCommerce support

This topic has 10 replies, 3 voices, and was last updated 10 years ago ago by Robert Hall

  • Avatar: DavidNL
    DavidNL
    Participant
    November 6, 2014 at 09:26

    Hi I have changed the menus text colours with the following code:

    .main-nav .menu > li.current-menu-item > a {
    color:#98005d!important;
    }

    .main-nav .menu>li>a {
    color:#ffffff!important;
    }

    .main-nav .menu > li > a:hover {
    color:#98005d!important;
    }

    since I put the background in black, I also need to change it in the sticky menu as it goes down so that the letters and links are seen like in the menu, with t what code should I put?

    Thanks
    David

    9 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    November 6, 2014 at 13:08

    Hello,

    Please provide us with the link to your site.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: DavidNL
    DavidNL
    Participant
    November 6, 2014 at 14:00

    Hi Eva,

    You have already the details, can you please check which code should I put to change the sticky menu font colour?

    Thanks
    David

    Avatar: Eva
    Eva Kemp
    Support staff
    November 6, 2014 at 14:26

    Hello,

    To change menu items color in the fixed header area you need add this code in custom.css file:

    .fixed-header .menu li a {
       color: #fff;
    }

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: DavidNL
    DavidNL
    Participant
    November 6, 2014 at 14:34

    Hi Eva,

    Perfect but I have the problem now with the submenus of the sticky menu, now are white and I don´t see it.

    Avatar: Robert Hall
    Robert Hall
    Support staff
    November 6, 2014 at 15:06

    Hello,

    What color you want in fixed menu?

    Regards,
    Robert Hall.

    Avatar: DavidNL
    DavidNL
    Participant
    November 6, 2014 at 15:18

    Hello,

    The submenus of the sticky menu the font colour black.

    Thanks!

    Avatar: Robert Hall
    Robert Hall
    Support staff
    November 6, 2014 at 15:27

    I’ve added this code into custom.css file. Check it.

    .fixed-header .menu > li.menu-full-width .nav-sublist-dropdown .container > ul > li a,
    .fixed-header .menu > li .nav-sublist-dropdown .container > ul > li a {
    color: #000 !important;
    }

    Regards,
    Robert Hall.

    Avatar: DavidNL
    DavidNL
    Participant
    November 6, 2014 at 16:08

    Perfect.

    Thank you very much.

    Regards,
    David

    Avatar: Robert Hall
    Robert Hall
    Support staff
    November 6, 2014 at 16:16

    Hello,

    You’re welcome!

    Regards,
    Robert Hall.

  • Viewing 10 results - 1 through 10 (of 10 total)

The issue related to '‘Sticky menu text colour’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.