How do I hide a text box on a collection page in mobile, Pipeline theme?

I have setup our category template to use a meta field to have text on the page.

I would like the text to not show on the mobile version.

1 Like

Hi @DavidWard1 ,

Would you mind to share your Store URL website? with password if its protected. You can also share the preview. Thanks!

https://us.michaelaram.com/collections/gifts-under-200

This is an example collection page with the text I would like to hide on mobile

1 Like

Thank you for the information. Try this one.

  1. From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  2. Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  3. In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
  4. And Save.
@media only screen and (max-width: 767px){
span.metafield-multi_line_text_field {
    display: none;
}
}
.brick__section.brick--2.use_screen_one_half.brick__section--reverse {
    min-height: auto !important;
}

Result:

I hope it help.

1 Like

Thank You!! It worked perfectly!

1 Like

Welcome, Please dont forget to like also. Thanks!

1 Like