Jump to content

Different desktop and mobile home page

Recommended Posts

  • Replies 1
  • Views 232
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

On 9/17/2021 at 2:36 AM, Kico said:

Site URL: https://www.burchamandzugman.com/

Hi!

I'm using the code below to display different home pages on desktop and mobile but it's not working. Did I do something wrong?

//different desktop and mobile home page
@media only screen and (max-width: 780px) { #home { display: none; } } 
@media only screen and (min-width: 781px) { #mobilehome { display: none; } }

Thanks!

Kico

 

Have you added 2 sections #home & #mobilehome yet?

Can you take screenshot of these sections?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.