Jump to content

PLEASE HELP! Second Domain within my site isn't mobile friendly

Recommended Posts

Posted

I created a sales landing page for a new project on my site, www.thinkwiththings.com. I added code to hide the header and footer and did web forwarding to connect it to a new domain name. www.thingslab.app.  It looks great under my original domain name on mobile, but when using the web-forwarded domain, the mobile version shows the desktop version. (so all text is unreadable) This is the page under my site https://www.thinkwiththings.com/thingslab-app this is how it looks in the new domain  https://www.thingslab.app/ on desktop both are fine, only mobile is bad. I added this additional code:

 

<script type="text/javascript">

if (screen.width <= 767) {document.location = "https://www.thinkwiththings.com/thingslab-app";}

</script>

But then nothing shows up at all on mobile?!?!?!?

 

The code I have in the Page Header Injection works great to hide the header and footer, but like I said when I add the other it all disappears. I have tried only to add the above and it still shows nothing:

<style>

  #header { display:none }

</style>

<style>

  .header, #footer-sections{

    display:none !important; }

</style>

  • Replies 2
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted

@tuanphan Thanks for the response. Yes that is the desktop version, so text isn't readable. The mobile version on Squarespace looks like this. So, all text is readable. I don't understand why it works when looking at the page under my 1st domain, but in the new forwarded domain it only shows up as desktop version. Can you help as it all launches tomorrow and I really don't want to use the first domain name, but might have to as I can't solve this. 

Thanks, Jules

Screenshot2024-01-04at11_50_45.thumb.png.4850a801b5f0c61890bab8c0c901def8.pngScreenshot2024-01-04at11_51_05.thumb.png.0d8d0d875828a7acdc0ad2130f74a274.png

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.