Hiding by default HTML Block on a mobile

This topic has 8 replies, 2 voices, and was last updated 1 years, 3 months ago ago by Rose Tyler

  • Avatar: Stephen Bruce Casey
    Stephen Bruce Casey
    Participant
    August 18, 2023 at 11:41

    I am seeking to hide a HTML block on Mobile only can this be done? I have a product table that i want to hide on mobile phones.

    7 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 18, 2023 at 12:21

    Hello,

    Thank you for contacting us and for using XStore.

    Please provide URL of the page with this table, we will give you custom CSS code to add in Theme Options > Theme custom CSS > Mobile area.

    Kind Regards,
    8theme team

    Avatar: Stephen Bruce Casey
    Stephen Bruce Casey
    Participant
    August 18, 2023 at 12:22

    Hi Rose,

    This page is behind a coming soon plugin do you want me to reply with a login to the background then you will be able to see this?

    Avatar: Stephen Bruce Casey
    Stephen Bruce Casey
    Participant
    August 18, 2023 at 12:26

    Rose please see credentials to login

    Please contact administrator
    for this information.
    Avatar: Stephen Bruce Casey
    Stephen Bruce Casey
    Participant
    August 18, 2023 at 12:27

    I am using a custom block on the product pages to show this table for variations only but need this hidden on mobile

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 18, 2023 at 13:03

    Hello,

    We appreciate your prompt responses.

    Please try to use the next code:

    .single_product-html_block1 {
        display: none !important;
    }

    Kind Regards,
    8theme team

    Avatar: Stephen Bruce Casey
    Stephen Bruce Casey
    Participant
    August 18, 2023 at 14:36

    Thanks that’s perfect and working 🙂

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 18, 2023 at 15:09

    Hello,

    You’re welcome!

    Kind Regards,
    8theme team

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

The issue related to '‘Hiding by default HTML Block on a mobile’' has been successfully resolved, and the topic is now closed for further responses

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