About products widget - by Rodrigo - on WordPress WooCommerce support

This topic has 9 replies, 3 voices, and was last updated 5 years, 10 months ago ago by Olga Barlow

  • Avatar: Rodrigo Fernandez
    Rodrigo
    Participant
    February 12, 2019 at 15:46

    Hello!!
    I would like to show the products widget in single products sidebar but not in mobile…what can I do?
    TKS!!

    8 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 12, 2019 at 15:49

    Hello,

    You can use custom css code to hide it on mobile.
    Please provide URL of your single product page and I will help with the code.

    Regards

    Avatar: Rodrigo Fernandez
    Rodrigo
    Participant
    February 13, 2019 at 12:10
    Avatar: Rodrigo Fernandez
    Rodrigo
    Participant
    February 13, 2019 at 12:12

    In this moment, we have this in Custom css for mobile:

    .single-product-sidebar.sidebar-right, .tax-product_cat .sidebar {
    display: none;
    }
    But I erased products widget because have problems in mobile
    TKS!!!

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 13, 2019 at 13:28

    Please add content in the sidebar. Do you want to disable only 1 widget from the sidebar on mobile?
    Also, temporarily disable the cache plugin on your site, because I do not see mentioned custom css code on your site via the console.

    Regards

    Avatar: Rodrigo Fernandez
    Rodrigo
    Participant
    February 13, 2019 at 14:24

    Done!!!

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 13, 2019 at 14:28

    Please provide temporary wp-admin access.

    Regards

    Avatar: Rodrigo Fernandez
    Rodrigo
    Participant
    February 14, 2019 at 09:17

    In private…tks!

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    February 14, 2019 at 12:17

    Hello,

    Use the following code in general custom CSS

    @media only screen and (max-width:960px) {
    .single-product .single-product-sidebar .widget_products {
        display: none;
    }
    }

    Regards

  • Viewing 9 results - 1 through 9 (of 9 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.