Jump to content

Remove categories scrollbar from mobile store

Recommended Posts

Site URL: https://eagle-horse-czrn.squarespace.com/

Wrestling with the store categories a bit.

I wanted to have many more for organisation purposes, but not if they have to be visible and this horizontal scrolling situation is the only way to display them. Whittled it down to these few and despite them fitting in the page, the horizontal scrollbar won't go away.

Removing more categories doesn't remove the scrollbar, unless there are none at all.

Hoping there's something obvious I'm missing, or someone here has a workaround.

Many thanks!

 

edit: whoops, password is "scrolling"

thanks again!

Untitled.png

Edited by rapm
providing password
Link to comment

Try pasting this to Design->Custom Css

@media screen and (max-width: 575px) {
  .products.collection-content-wrapper .nested-category-children {
      overflow-x: hidden;
  }
}

image.png.f318a6039d4b742c2d201c1150b59a7b.png

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, Lightbox Studio plugin
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
  • 1 month later...
On 11/16/2020 at 9:31 AM, bangank36 said:

Try pasting this to Design->Custom Css


@media screen and (max-width: 575px) {
  .products.collection-content-wrapper .nested-category-children {
      overflow-x: hidden;
  }
}

image.png.f318a6039d4b742c2d201c1150b59a7b.png

bangank36, I tried this with my site, and it worked, but now the categories to the right are just cut off completely. Is there a way to wrap the text onto the next line? Set a maximum width for this, perhaps, that only applies to the mobile version? TIA!

 

Capture.PNG.f56b71777e0dc04af7adcc8ce34d0e8e.PNG

Link to comment
On 1/3/2021 at 1:39 AM, MarshallRScott said:

bangank36, I tried this with my site, and it worked, but now the categories to the right are just cut off completely. Is there a way to wrap the text onto the next line? Set a maximum width for this, perhaps, that only applies to the mobile version? TIA!

 

Capture.PNG.f56b71777e0dc04af7adcc8ce34d0e8e.PNG

Can you share link to shop page? We can check easier

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
On 1/3/2021 at 1:39 AM, MarshallRScott said:

bangank36, I tried this with my site, and it worked, but now the categories to the right are just cut off completely. Is there a way to wrap the text onto the next line? Set a maximum width for this, perhaps, that only applies to the mobile version? TIA!

 

Capture.PNG.f56b71777e0dc04af7adcc8ce34d0e8e.PNG

try this

@media screen and (max-width: 575px) {
	.products.collection-content-wrapper .nested-category-children {
        overflow-x: hidden;
        flex-wrap: wrap;
        justify-content: center;
    }
}

image.thumb.png.9bb429a8b4b1d0e3b742b910537e1649.png

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, Lightbox Studio plugin
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
Just now, MarshallRScott said:

It worked, thank you so much!

 

You rock!

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, Lightbox Studio plugin
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

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.