Goal: Show slideshow first and then rich text on desktop, but show rich text first and then slideshow on mobile by hiding one rich text section per device type.
Key solutions:
Theme.liquid edit: Guidance to add custom code above the tag in theme.liquid. The exact snippet isn’t visible in the thread, but shared screenshots indicate it achieved the desired result.
CSS media queries: Add CSS in Assets (base.css/style.css/theme.css) using breakpoints at 749px. For desktop (min-width: 749px), hide the first rich text section by targeting its section ID. For mobile (max-width: 749px), hide the second rich text section via its section ID. Step-by-step instructions were provided.
Notes:
The provided CSS targets specific section IDs unique to the store; others should adjust IDs accordingly.
Screenshots are used to demonstrate the before/after results.
Outcome: The requester confirmed the solution worked. No further questions; issue appears resolved.
Summarized with AI on December 30.
AI used: gpt-5.
From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
Find the theme that you want to edit and click on “Actions” and then “Edit code”.
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:
@media only screen and (min-width: 749px) {
div#shopify-section-template--19215236301067__rich_text_HA3DLR .article.use-alt-bg.fully-padded-row--small.cc-animate-init.-in.cc-animate-complete {
display: none;
}
}
@media only screen and (max-width: 749px) {
div#shopify-section-template--19215236301067__rich_text_dX7fGc {
display: none;
}
}
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.