Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi there,
We are using the Motion theme, could someone please let me know which code I can enter in the "custom CSS" box in the theme editor to make sure some sections are only visible on mobile or desktop? I was surprised that with the ease of use of the drag & drop theme editor that there's not a selector per section by default to do this..
So to clarify, lets say I only want a video (section in theme) to show on mobile, how to do this by using the custom CSS box?
Thank you in advance!
Hi @shopfashion
Could you add that section and then share store URL so I can give you the solution?
- Found this helpful? Hit "Like" and "Accept as Solution"! Support me: Donate!
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
Built for Shopify
Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...Sign up now.
Hi there,
As far as I know the custom CSS box is only applied per section, so there should be a one-size-fits-all code right? In regards that it doesn't matter which section. Just some code to hide a section on desktop. So I can easily copy and paste to the section I want hidden on desktop or mobile devices. Please see image, that's the custom CSS box I mean.
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025