Jump to content

My mobile site is not centered- Help!

Recommended Posts

  • Replies 24
  • Views 5.2k
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 weeks later...
On 2/22/2022 at 7:48 AM, Reb_Heart said:

Hi ! Yes, it does this on actual mobile devices... I even had a friend check and it's the same : ( Any tips??

Try adding to Design > Custom CSS

html, body {overflow-x:hidden;}

 

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
  • 8 months later...
  • 4 months later...
On 4/21/2023 at 4:05 PM, Assad said:
  •  

I have a similar problem, whenever it's viewed on mobile the text that should be aligned in the center appears to be shifted to the right, could anyone please help?

image.png.883542710103a6e2dbbb3923900a2a19.pngimage.thumb.png.5e1e7a11e981bbfa9be01c5db7606a08.png

https://swan-coyote-5l6c.squarespace.com/

pw = bongo

Add to Design > Custom CSS

@media screen and (max-width:767px) {
.fe-643d37df5d41246dce6a7211 {
    grid-column-gap: 20px !important;
}
}

 

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
  • 8 months later...
  • 2 weeks later...

I seem to be having the same problem but none of the code above has fixed it... I'm currently redesigning my website for mobile (duplicating every section and using @media only screen and(min-width:641px) {[mobile-data-section-id]{display:none}} @media only screen and (max-width:640px) {[desktop-data-section-id]{display:none}}). On Squarespace, the mobile layout looks good (image 1), but on my actual phone it looks as if it's pushed to the left (image 2)!

Screenshot 2024-02-06 at 4.14.08 PM.png

PHOTO-2024-02-06-16-18-30.jpg

Link to comment
On 2/7/2024 at 2:18 AM, manumuniz said:

I seem to be having the same problem but none of the code above has fixed it... I'm currently redesigning my website for mobile (duplicating every section and using @media only screen and(min-width:641px) {[mobile-data-section-id]{display:none}} @media only screen and (max-width:640px) {[desktop-data-section-id]{display:none}}). On Squarespace, the mobile layout looks good (image 1), but on my actual phone it looks as if it's pushed to the left (image 2)!

Screenshot 2024-02-06 at 4.14.08 PM.png

PHOTO-2024-02-06-16-18-30.jpg

What is page url? We can check problem easier

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
  • 1 month later...
On 3/23/2024 at 12:31 AM, Delightfulglass said:

Having a similar issue. My products won't center on mobile. None of these codes worked thus far. No settings in mobile seem to change anything. I was trying to add a second column. Nope. Perhaps I have another code overriding? 

 

 

Screen Shot 2024-03-22 at 10.27.21 AM.png

You can share link to this product, we can check and help you easier

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
  • 2 months later...
  • 2 months later...

Hi, 
I have the same issue on mobile. The page looks well-centered on the preview, but misaligned when accessed from real mobile devices.

The custom CSS from above didn't help.

Could you please check: buttercupandrobot.com/links

Link to comment
1 hour ago, Xeni said:

I have the same issue on mobile. The page looks well-centered on the preview, but misaligned when accessed from real mobile devices.

You have extra white space in your text. Check both text blocks and remove empty white space for "3D Files" and "Commercial License".

Let me know how it goes.image.thumb.png.7e05a4e9d1d2d3812241273e00ff1adf.png

-------- > 👆 <---------- Please quote or @ me when replying, or I won't get a notification 

Melody | Squarespace Nerd
e: melody@melodylee.tech


💻 💁‍♀️ 1-2-1 Squarespace Training session <- feeling stuck and want to learn?
👩‍💻 💁‍♀️ Website help <- send me your to-do list. From code to plugin to domain setup.
🧰 See the tools I use (contain affiliate links)
 Did I help? I like coffee (Thank you)

Link to comment

 

7 minutes ago, melody495 said:

You have extra white space in your text. Check both text blocks and remove empty white space for "3D Files" and "Commercial License".

Let me know how it goes.

Hi Melody, thank you for your prompt response.
That's correct, I have included the spaces to compensate for the misalignment. Not the best workaround for sure, but I was trying to make it look a bit better.

I have now removed the spacing. Could you please check the mobile page again? 

Here is what I see:
 

Screenshot 2024-08-15 at 16.35.23.jpeg

Link to comment
15 minutes ago, Xeni said:

I have now removed the spacing. Could you please check the mobile page again? 

It looks perfectly centred for me 🙂 

I noticed you are opening your website from Instagram, so it's using Instagram's browser. Websites (not just Squarespace) are known to look different with internal browsers from Instagram, Facebook etc, as far as I know, there is nothing you can do about it.

If you open in "External browser", you should see your website as my screenshot below.

image.thumb.png.4fe63c1551ae1ca96061c58c596257f3.png

-------- > 👆 <---------- Please quote or @ me when replying, or I won't get a notification 

Melody | Squarespace Nerd
e: melody@melodylee.tech


💻 💁‍♀️ 1-2-1 Squarespace Training session <- feeling stuck and want to learn?
👩‍💻 💁‍♀️ Website help <- send me your to-do list. From code to plugin to domain setup.
🧰 See the tools I use (contain affiliate links)
 Did I help? I like coffee (Thank you)

Link to comment
  • 1 month later...

@tuanphan I'm having a weird issue with a new page I am creating. When i go into Mobile View to design the page, the width of the usable area goes beyond the width of the visual working area. And i cannot get the content centre. 

Screen recording here to see what I'm talking about:
https://www.dropbox.com/scl/fi/2nac77wg45rbpznu3l5af/Damon_Screen-Record.mov?rlkey=xoasxaj8sr4rdagu9c8xwnsl2&dl=0

It does not occur on any other pages.

Troublesome page 
https://www.photosbydamon.com/welcome

Normal page
https://www.photosbydamon.com/

 

Link to comment
On 9/18/2024 at 5:23 PM, DamonCameron said:

@tuanphan I'm having a weird issue with a new page I am creating. When i go into Mobile View to design the page, the width of the usable area goes beyond the width of the visual working area. And i cannot get the content centre. 

Screen recording here to see what I'm talking about:
https://www.dropbox.com/scl/fi/2nac77wg45rbpznu3l5af/Damon_Screen-Record.mov?rlkey=xoasxaj8sr4rdagu9c8xwnsl2&dl=0

It does not occur on any other pages.

Troublesome page 
https://www.photosbydamon.com/welcome

Normal page
https://www.photosbydamon.com/

 

Hi,

I see site is fine now?

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.