Jump to content

My website cannot scroll up or down smoothly after hidden overflow

Recommended Posts

14 minutes ago, lifeislikeabullet said:

Site URL: https://charlnesslifeislikeabullet.com/

My website mobile version have overflow problem, I used the code "html, body {overflow-x:hidden;}" to hide horizontal space, but after applying this code my website cannot scroll up or down smoothly, it will stuck at the same point and bounce back.

RPReplay_Final1638842571.mov 11.38 MB · 1 download  

 

You can try remove the setting overflow hidden for html

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
On 12/7/2021 at 4:38 PM, lifeislikeabullet said:

But if I remove this my website will have horizontal space, how to solve this?

It looks like you fixed this? No horizontal here, I can scroll up/down. Windows/Chrome

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 4 weeks later...

Opsiii! Got this working for my client using the code below:
 


@media screen and (max-width:640px) {

  
  #collection-61a7987147cedb670348f1b0 *,  body.homepage {
max-width: 100vw !important;
    margin-left: auto;
        margin-right: auto;
}
  
  .page-section:not(.full-bleed-section)>.content-wrapper {
    padding-right: 15px;
    padding-left: 15px;
    box-sizing: border-box;
}
}

Edited by alicewonder
Link to comment
  • 1 month later...

The site appears to be working for me.

If you are still having difficulties:

  • check you are using one of the latest supported browsers
  • temporarily remove all custom code to see if this resolves the issue.

If you still experience difficulties, contact Squarespace Customer Care for support using this link.

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Buy me a coffee

Link to comment
2 minutes ago, paul2009 said:

The site appears to be working for me.

If you are still having difficulties:

  • check you are using one of the latest supported browsers
  • temporarily remove all custom code to see if this resolves the issue.

If you still experience difficulties, contact Squarespace Customer Care for support using this link.

its on mobile view only, i have sent it to a few other friends as testers and they are experiencing the same scroll issues. It started to happen after I added an announcement bar, but when I tried to remove it to see if that would fix it, the problem remained... 

Link to comment
42 minutes ago, moonlitdesign said:

its on mobile view only, i have sent it to a few other friends as testers and they are experiencing the same scroll issues. It started to happen after I added an announcement bar, but when I tried to remove it to see if that would fix it, the problem remained... 

Hey, I think this custom code effect on this behaviour:
image.png.85ec3e20abc85f053058a7abc2f4b2da.png

Try to remove it from custom CSS and check again.

Edited by SquareRefresh

SquareRefresh, premium plugins & templates that have an elevated feel.

Plugins: Have your site stand out. 
Templates: Our templates are designed with versatility in mind.
Get Freebies: Sometimes things in life are free. Browser our hand selected free plugins.

Link to comment
  • 2 weeks later...
On 2/21/2022 at 5:29 PM, moonlitdesign said:

Thank you this did fix the scroll issue, but how can I then stop this from happening? IMG_2056.thumb.PNG.9372c9161a822307222a0e7fa6209cc3.PNG

Do you have a suggestion of how to get rid of the excess? 

 

On 2/21/2022 at 12:56 PM, SquareRefresh said:

Hey, I think this custom code effect on this behaviour:
image.png.85ec3e20abc85f053058a7abc2f4b2da.png

Try to remove it from custom CSS and check again.

Could you plea

Link to comment
On 2/21/2022 at 12:12 PM, paul2009 said:

The site appears to be working for me.

If you are still having difficulties:

  • check you are using one of the latest supported browsers
  • temporarily remove all custom code to see if this resolves the issue.

If you still experience difficulties, contact Squarespace Customer Care for support using this link.

Hey, we found the bit of code that was breaking the mobile scroll, however it's the code needed that removes the excess page space on the sides. Do you have a work around instead of using the code below? 

html, body {overflow-x:hidden;} 

Link to comment

Site URL: http://www.moonlitdesign.uk

Hi there,

Please can someone help. I need another work around being able to hide the excess space and the ability to move my whole website. For some reason, overflow-x:hidden is messing up my mobile scroll so that is not an option. 

 

Any suggestions greatly appreciated, I am really desperate for this 😞

 

Thanks

 

www.moonlitdesign.uk 

and www.apexcoaching.uk pw hello123

Link to comment
On 3/16/2022 at 6:18 AM, tuanphan said:

Try this

@media screen and (min-width:992px) {
	html, body {overflow-x:hidden;}
}

 

i only need it for mobile though, it doesn't have excess overflow on desktop - only on mobile!

i tried .site {overflow-x:hidden;} but that didn't do anything, is there another code snippet i can try to target the whole site? 

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.