Jump to content

MB12

Member
  • Posts

    6
  • Joined

  • Last visited

Reputation Activity

  1. Like
    MB12 reacted to paul2009 in Can I set my homepage to a different page for mobile only   
    Hi
    Yes, there's a workaround you can add for this. The code below assumes that the mobile version of your home page has the URL 'mobile'. Add the following code to the Code Injection area of the desktop Home page (you'll find this on the page settings on the Advanced tab):
    <script> if (screen.width<760) {window.location="/mobile";} </script>
    Paul

    UPDATEI've updated this answer to allow for devices with higher resolutions and to allow testing on browsers when the width has been reduced.

    Use the code below instead, adjusting the URL and the width (in pixels) to match your needs:

    <script> if (document.documentElement.clientWidth <760) { window.location = "/mobile"; } </script>
  2. Like
    MB12 reacted to bellef22 in How can I move the first section on my home page below the header?   
    Site URL: https://seal-olive-mnwz.squarespace.com/
    I noticed that the first section below my header on my Barbosa themed template gets overlapped by the header and I was wondering if I could make it so the image for the first section didn't start until after the header rather than being tucked behind it?
  3. Like
    MB12 reacted to tuanphan in How to change the navigation text color on one page only in Montauk?   
    Montauk uses this code
    <style> div#topNav * { color: blue !important; } </style>  
×
×
  • 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.