Jump to content

Keep Categories Expanded In Mobile

Recommended Posts

Site URL: http://katrichart.com/fineart

Hello,

I'm trying to keep the categories on my shop page expanded for mobile view. I'd like to hide the dropdown menu "Categories" but have the actual category options visible. I've attached a photo with an example of what I'd like to see on the mobile view.

I tried using this CSS but it hides the entire thing, not just the "Categories" dropdown menu.

 

@media screen and (max-width:640px) {
label.ProductList-filter-dropdownToggle-label {
    display: none;
}
}

Screenshot (1639).png

Link to comment
  • 1 year later...
On 10/27/2021 at 12:17 AM, Latoya.burris said:

I have a similar issue but we’re on 7.1. I would prefer for the categories on the “Shop” page to stack vertically instead of scrolling to the right to see more. The UI isn’t intuitive and most shoppers are not noticing that there are more categories in mobile view. See screenshot.

IMG_1064.PNG

IMG_1063.PNG

Hi,

Add to Design > Custom CSS. If it doesn't work, please share link to store page on your site, we can check easier

@media screen and (max-width:767px) {
.products.collection-content-wrapper .nested-category-children {
    flex-wrap: wrap !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!)

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.