Jump to content

View subcategories from store page

Recommended Posts

  • 3 weeks later...
  • Replies 11
  • Views 785
  • Created
  • Last Reply

Top Posters In This Topic

Try adding this to Design > Custom CSS

/* Show category nav links */
div.nested-category-tree-wrapper {
display: flex !important;
float: none !important;
min-width: 100% !important;
max-width: 100% !important;
margin-right: 0 !important;
}
section.products.collection-content-wrapper.products-list {
flex-direction: column !important;
display: flex;
}
.nested-category-tree-wrapper>ul {
width: 100% !important;
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap !important;
}
.nested-category-tree-wrapper>ul li {
margin-left: 2vw;
}
nav.nested-category-breadcrumb {
display: none !important;
}
ul.nested-category-children {
display: none !important;
}
a.category-link.root {
    padding-bottom: 0 !important;
    padding-top: 6px !important;
}
/* fix first item space */
li.category-item:first-child a {
    padding-bottom: 0 !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
On 2/4/2023 at 2:31 PM, Natalie192 said:

bimmerspares.com.au - it's currently not live but password protected.

pw: Hello1

I see you figured it out?

On 2/6/2023 at 10:19 PM, e-eph said:

Hello, I am looking for assistance on this a well. I'd like to subcategories to show at all times down the left hand side. Can someone help me with this?

What is your site url?

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 2/13/2023 at 8:35 AM, Natalie192 said:

No, I still have it showing main categories only with subcategories hidden. The code provided lists categories and subcategories at the top which I've taken out for now. 

You mean remove this?

image.png.21e4fcfa626d6a3a782acd34b3cf7993.png

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 2/16/2023 at 10:45 AM, Natalie192 said:

Yes please, and also a way to have the subcategories listed down the left hand side permanently?

Untitled.jpg

Add to Design > Custom CSS

nav.nested-category-breadcrumb {
    display: none !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.