Header menu text color can't change

This topic has 4 replies, 2 voices, and was last updated 6 years, 6 months ago ago by Rose Tyler

  • Avatar: yea73920
    yea73920
    Participant
    May 28, 2018 at 15:23

    Hi

    My index page header menu text color can’t change, It’s still white color.

    I change at the backend but still doesn’t change.

    Could you help me fix it? Thank you

    screen shot
    https://imgur.com/a/AcAoQ44

    3 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 29, 2018 at 09:36

    Hello,

    You can disable Header overlap for Home page – http://prntscr.com/jnyf6u or add this code in Theme Options > Custom css:

    .home .header-type-2.slider-overlap .header .menu > li > a, .home .header-type-2.slider-overlap .shop-text .total {
        color: #af874f !important;
    }
    

    Regards

    Avatar: yea73920
    yea73920
    Participant
    May 29, 2018 at 17:27

    Hi

    It works, thank you

    Another question is, How to use custom.css in child-theme,

    It’s doesn’t work when I use the custom.css file in FTP ( /theme/woopress/custom.css either /theme/woopress-child/custom.css) and either put the CSS code in theme option>custom css.

    only success way I did is pest CSS code in Appearance > customize > Additional CSS

    Could you tell me why?

    thank you

    James

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 30, 2018 at 10:02

    Hello,

    You’re welcome!
    The code should work fine from the style.css file of the child theme or from Theme Options > Custom css. Please note that from the 4.0 update, all the custom styles come not like inline CSS but as styles from separate file – dynamic.css (to speed up the site loading). If you created child theme before 4.0 update, you need to create the dynamic.css file in woopress-child theme folder and set permissions 777 for the file + add wp_enqueue_style( 'dynamic-css', get_stylesheet_directory_uri() . '/dynamic.css' ); in woopress-child/functions.php file. Then go to Theme Options and re-save them.

    Regards

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

You must be logged in to reply to this topic.Log in/Sign up

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