A user needs to hide a collage section on mobile devices because it displays poorly on phones while looking good on desktop. The section appears on a tableware page and becomes distorted on smaller screens.
Proposed Solutions:
Multiple experts suggested using CSS media queries to hide the section on mobile:
Method 1: Add CSS code to theme.liquid file before the </head> tag
Method 2: Insert CSS into main.css/base.css targeting the specific section class with display: none for screens under 749px width
Implementation Issues:
The user encountered problems when attempting the solutions:
Code not working despite following instructions
Unnecessary characters/signs appearing in base.css file causing errors
Specific lines (3253, 3354) identified as problematic
Current Status:
The discussion remains unresolved. The most recent suggestion recommends pasting the CSS code into the theme.liquid file instead, locating the </body> tag and inserting the media query code before it. The user has three similar collage sections on the page, with clarification needed on whether all should be hidden on mobile.
Summarized with AI on November 5.
AI used: claude-sonnet-4-5-20250929.
@lukafernada - each section has unique id, using that we can hide using css… if in future you remove this section and add again, id will be changed and css will need to be re-applied
If you just want to hide the top part of the photo in your question then use this code. The above code will help you hide all your collage photos @lukafernada .