Disable Woocommerce store notice on mobile

  • Author
    Posts
  • #3416619

    rajasaadblog
    Member

    How can I disable woocommerce store notice on mobile and tablet devices? I just want it to appear only on desktop devices.

    Here is a link to my website: http://www.rnrfitclub.com

    The blog I need help with is www.rnrfitclub.com.

    #3416678

    tenchoenyi
    Member

    Hello,

    You can use these following CSS code to disable store notice on mobile and tablet devices.

    @media (max-width: 767px){
     .woo_amc_open_image svg, .woo_amc_open_count{
        display: none;
    }
    p.woocommerce-store-notice.demo_store{
    display: none!important;
    }
    }
    
    @media (min-width: 768px) and (max-width: 1024px) {  
     .woo_amc_open_image svg, .woo_amc_open_count{
        display: none;
    }
    p.woocommerce-store-notice.demo_store{
    display: none!important;
    }
    }
    #3416858

    rajasaadblog
    Member

    Thank you very much. This works! Problem solved.

    #3416859

    rajasaadblog
    Member

    Thank you very much. This works! Problem solved.

You must be logged in to reply to this topic.