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

Link to comment
  • Replies 8
  • Views 1.5k
  • Created
  • Last Reply

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

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, 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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, 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!

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.