Jump to content

Image + font size change on mobile scroll

Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

  • 8 months later...

Hi Tuan! You are amazing.

I've followed so much of your advice and owe almost all of my website's css to you. I am experiencing the same issue as the original poster here. I've used your suggested addition (and changed the data section ID to reflect my own page), but am still experiencing the issue with the first header block's background growing in size as you scroll on mobile. Do you have any suggestions? I've prevented the heading from growing in size with this snippet of yours:

/* Pricing Heading */
@media screen and (max-width:767px) {div#block-05499f143cfdad7f5377 h1 {font-size: 42px !important;}}

 The page is: https://voltaclimbing.com/pricing (password: 12345)

This is the CSS I'm using to target the header BG growing:

/* Pricing Heading BG */
@media screen and (max-width:767px) {[data-section-id="614b7907c73c910a2ae155fd"] {padding-top: 100.984px !important;
}}

 

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.