Support » Plugin: WP Add Custom CSS » Page CSS won’t work

  • Resolved napisal

    (@napisal)


    Hello! Could you please take a look at https://ambery.net/

    There’s some custom CSS stored in general settings (works fine) and custom CSS in front page settings:

    @media all and (max-width: 768px) {
    .nm-menu li a {color: #ffffff!important;}
    .nm-menu-icon span {background: #ffffff!important;}
    .nm-banner.has-alt-image {display:none;}
    }

    Those lines does not load with this page at all.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Daniele De Santis

    (@danieledesantis)

    Hello,
    are you using a static front page? It seems you are using the product archive page as home page.

    For post and product archive pages you have to use the general settings box, targeting your pages with the body class, you can use .home in your case:

    @media all and (max-width: 768px) {
    .home .nm-menu li a {color: #ffffff!important;}
    .home .nm-menu-icon span {background: #ffffff!important;}
    .home .nm-banner.has-alt-image {display:none;}
    }

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Page CSS won’t work’ is closed to new replies.