Jump to content

Designate a specific homepage for mobile that isnt my normal homepage

Recommended Posts

  • Replies 1
  • Views 102
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hi,

You mean you want to use a different layout for mobile?

You can create another page & design layout for mobile. Then add this code to Page Header of first page (desktop page), this code will redirect users to new page on mobile

<script type="text/javascript">
if (screen.width <= 767) {
document.location = "https://google.com";
}
</script>

Replace google with mobile page url

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.