How to show different content on desktop and mobile - Squarespace 7.1
So you want to create different layouts or have different content on desktop and mobile but are unsure how to do it? Well here is some custom code to add this to your website.
The principles behind this are to duplicate a second section that you want for mobile, and then change the styling of the content.
Step by step guide:
Create your first section for desktop and styling it appropriate for desktop
Duplicate the first section so you have a copy of it
Change the view to “Mobile view”
Change the layout of the section section so you are happy with it on mobile
Apply this custom CSS below, changing the ID’s within the quote marks only
Note:
When the code is applied, the only way to be able to edit the different content is by changing between “Desktop” and “Mobile” view.
Add to Custom CSS