Need to hide custom liquid on mobile

Hi I need to hide this custom liquid on mobile, can’t find this element in the edit code bit. Tried coding it into the liquid and it doesn’t respond it only hides it on both desktop and mobile.

1 Like

Hi @homestoreliving

Would you mind to share your Store URL website? with password if its unpublish. Thanks!

Hey @homestoreliving

Welcome to Shopify Community! Can you share your Store URL so I can have a look on it? Also, if you have password enabled then please share the password as well. Your cooperation would be greatly appreciated.

Best Regards,
Moeed

it’s homestoreliving.co.uk :slightly_smiling_face:

Hey @homestoreliving

Follow these Steps:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Add the following code in the bottom of the file above tag


RESULT:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

1 Like

Thanks for the info, check this one.

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

@media screen and (max-width: 989px) {
.section-sections--23320340496709__custom_liquid_E7GJCX-padding {
    display: none;
}
}

And saved.

Result:

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

That’s worked a treat thank you very much :blush:

1 Like

Thank you for your reply. I’m glad to hear that the solution worked well for you. If you require any more help, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.