Jump to content

How customize categories bar with css

Recommended Posts

Site URL: https://stingray-endive-257g.squarespace.com/bioceste

Hi! How can i costumize the categories bar without effecting all the paragraph? I want them more visible, like in bold tipe for example.

And, in the mobile version, is appearing a orrible slide bar for see the categories bar (like in the image belove), how can i remove that for seeing in the same layout all the categories?

Thank you so much and sorry for my bad english!

 

slidebar.jpg

Link to comment
  • Replies 4
  • Views 673
  • Created
  • Last Reply

Hi,

Add this to Design -> Custom CSS
 

.nested-category-children a {
    font-weight: bold;
}

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

 

Screenshot 2021-06-24 at 19.18.58.png

Screenshot 2021-06-24 at 19.21.41.png

Link to comment
14 hours ago, sorca_marian said:

Hi,

Add this to Design -> Custom CSS
 


.nested-category-children a {
    font-weight: bold;
}

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

 

Screenshot 2021-06-24 at 19.18.58.png

Screenshot 2021-06-24 at 19.21.41.png

Thank you so much!!! It works!

Link to comment
17 hours ago, sorca_marian said:

Hi,

Add this to Design -> Custom CSS
 


.nested-category-children a {
    font-weight: bold;
}

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

 

Screenshot 2021-06-24 at 19.18.58.png

Screenshot 2021-06-24 at 19.21.41.png

i'm sorry, i see that when i choose a category, the categories bar is no longer there, and the category  'all' is in another font style. There is a way to having the categories bar on the top off every category page, and in the product page too?

Thank you a lot 

Senza titolo-3.jpg

Link to comment
On 6/25/2021 at 4:37 PM, Apisorganic said:

i'm sorry, i see that when i choose a category, the categories bar is no longer there, and the category  'all' is in another font style. There is a way to having the categories bar on the top off every category page, and in the product page too?

Thank you a lot 

Senza titolo-3.jpg

Try adding this to Design > Custom CSS

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 {padding-top: 44px;padding-bottom: 30px;margin-bottom: 0;flex-wrap: nowrap;overflow-x: scroll;text-align: center;display: flex;flex-direction: row;align-content: center;position: relative;justify-content: start;}
.nested-category-tree-wrapper>ul li {
    margin-left: 2vw;
    flex: 0 0 auto;
}
nav.nested-category-breadcrumb {
    display: none !important;
}
ul.nested-category-children {
    display: none !important;
}
.products.collection-content-wrapper .nested-category-tree-wrapper>ul>li:first-child a {
    padding-top: 5px;
}

 

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

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.