Custom CSS not displaying on monile - by HmirceaD

This topic has 3 replies, 2 voices, and was last updated 4 years, 4 months ago ago by HmirceaD

  • Avatar: HmirceaD
    HmirceaD
    Participant
    August 19, 2021 at 09:07

    I added some custom css to my store so that the stock status would not be displayed on the product page.

    This is the code:

    .et_connect-block-sep{
    		display: none !important;
    }
    
    .stock{
    		display: none !important;
    }

    The stock status dissapears on the desktop version but still appears on mobile.

    Thanks in advance!

    Please, contact administrator
    for this information.
    2 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Participant
    August 19, 2021 at 12:10

    Hello,

    Remove that code and add this one in Theme Options > Custom CSS > global

    .template-container .stock {
        display: none;
    }

    Regards

    Avatar: HmirceaD
    HmirceaD
    Participant
    August 20, 2021 at 09:31

    It works! Thank you very much Olga.

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

The issue related to '‘Custom CSS not displaying on monile’' has been successfully resolved, and the topic is now closed for further responses

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