Jump to content

How do you adjust site margins for a tablet iPad device

Recommended Posts

Posted (edited)

The margins on my site look fine for desktop and mobile. However on a tablet device like an iPad they are reduce to zero. Can anyone offer any advice or CSS code to fix this please? Image grabs attached for reference. Please do request access to my site should that help. Thanks

https://brucemytton.co.uk/work

Screenshot 2023-10-17 at 23.41.40.png

Screenshot 2023-10-17 at 23.41.51.png

Screenshot 2023-10-17 at 23.42.01.png

Screenshot 2023-10-17 at 23.42.12.png

Edited by MyttonB
  • Replies 3
  • Views 1.6k
  • Created
  • Last Reply

Top Posters In This Topic

Posted (edited)

Thank you @tuanphan, I have set the 'Site Margin Spacing' in the 'Site Styles' to 0vw, and added the code you've supplied, but that hasn't worked.

When viewed on an iPad only, the margins for all pages reduce to zero margin, no doubt because the overall site margins are set to 0vw. I would like the same margin, around 7vw, on all pages, are you able to supply the code for that please? 

https://brucemytton.co.uk/work 

A few other things...

1. The 'Targeted Solutions' logo in the footer looks a lot smaller on an ipad. Can this be made bigger with code?

2. The slide show on the homepage doesn't show /play on an ipad – any ideas why not?
https://brucemytton.co.uk/ 

3. Similarly, this page has mp4 videos added to it but they don't show on an ipad
https://brucemytton.co.uk/work/rn

It's an old ipad air, software version 12.5.7, it won't update to a newer version unfortunately.

Thanks for your help!

 

Edited by MyttonB

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.