Make Custom Changes to Mobile and Desktop Separately

laurenfrancis
Tourist
6 0 2

Hello!

 

I am currently using the "Showcase" theme. I am hoping to edit the mobile and desktop versions of my site separately. Is there a way to un-tether the two from each other in the editor? Alternatively, is there a way to have some of the sections on a page appear only on the desktop and have some others appear only on the mobile?

 

I have tried to insert the below custom CSS into the "Custom CSS" box but received an error message that At-Rules are not permitted.

.show-mobile { display: none; }
.show-desktop { display: block; }

@media screen and (max-width: 798px) { 
  .show-mobile { display: block; }
  .show-desktop { display: none; }
}

 

Thanks so much in advance for your help!

 

Reply 1 (1)

made4Uo
Shopify Partner
3805 713 1129

Hi @laurenfrancis,

 

You can follow the video below to do this on any sections

 

Volunteering to assist you!  Likes and Accept as Solution  is highly appreciated.✌
Coffee fuels my dedication. If helpful, a small Coffee Tip would be greatly appreciated.
Need EXPERIENCED Shopify developer without breaking the bank?
Hire us at Made4Uo.com for quick replies.
Stay in control and maintain your security by avoiding unnecessary store access!