Jump to content

Mobile - first sections not loading content correctly

Recommended Posts

Posted

Hello. Working on a site the first section of each page (except homepage) is not loading correctly in mobile. Instead of loading at the top of the section, it is loading in the middle of the content, and pushing some of the section content down to overlap with the second section. Examples below. Rendering correctly in desktop version.

(https://hibiscus-dachshund-wk7b.squarespace.com/config/design)!

This is only happening in mobile. Can someone look at my CSS to see if I have anything incorrect that could be causing this? Or if there is a fix? I'm still pretty mid-level with SS.

password: forumhelp

THANK YOU!

Screenshot 2022-11-29 at 11.14.25 AM.png

Screenshot 2022-11-29 at 11.14.38 AM.png

Screenshot 2022-11-29 at 11.14.50 AM.png

  • Replies 6
  • Views 1.6k
  • Created
  • Last Reply

Top Posters In This Topic

  • 10 months later...
Posted
12 hours ago, mbockmaster said:

Site is https://fife-sunflower-68mk.squarespace.com/ pw: elipsis

It doesn't happen when I preview on desktop with a mobile device selected, but it does happen when I preview the site on my phone.

You mean this section?

image.png.a8174926550816605428f03f8f50fcd1.png

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!)

Posted
6 hours ago, tuanphan said:

You mean this section?

image.png.a8174926550816605428f03f8f50fcd1.png

Thanks @tuanphan, correct. It's this hero area, on every page. It loads slightly further down, so the sticky header is active on page load. This happens on page load on my phone, not on desktop. Very strange!

394094367_862664862144474_4088705704108588724_n.jpg

Posted
On 10/19/2023 at 8:48 PM, mbockmaster said:

Thanks @tuanphan, correct. It's this hero area, on every page. It loads slightly further down, so the sticky header is active on page load. This happens on page load on my phone, not on desktop. Very strange!

394094367_862664862144474_4088705704108588724_n.jpg

Try adding this to Website Tools (under Not Linked) > Custom CSS

@media screen and (max-width:767px) {
body.homepage article section:first-child {
    padding-top: 0px !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!)

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.