Jump to content

Custom category filter

Recommended Posts

  • Replies 16
  • Views 905
  • Created
  • Last Reply
On 5/6/2021 at 4:25 PM, Theo4543 said:

Add to Design > Custom CSS

/* category filter */
a.ProductList-filter-list-item-link {
    background: black;
    color: white;
    padding: 10px !important;
    display: inline-block;
}

 

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
  • 2 weeks later...
15 hours ago, Theo4543 said:

I have reorganized the categories but there is a problem : The last category : "Tables" and "assises/Seating" are paste and I don't understand why

Link page: https://www.addictgalerie.com/mobiliers-shop

155793657_Capturedcran2021-05-2511_27_38.thumb.png.e91fc8d404243e4b768759f22f41ec93.png

 

use this CSS to add space after tables

.ProductList-filter-list-item:last-child {
    margin: 0 17px 0 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

In Design > Custom CSS, find this code

ul.ProductList-filter-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

change it to

@media screen and (min-width:641px) {
ul.ProductList-filter-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
}

 

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

Add to Luminaires Shop Page Header

<style>
  .ProductList-filter-list-item:nth-child(5) {
    order: 1;
}
  .ProductList-filter-list-item:nth-child(1) {
    order: 2;
}
.ProductList-filter-list-item:nth-child(2) {
    order: 3;
}
.ProductList-filter-list-item:nth-child(3) {
    order: 4;
}
.ProductList-filter-list-item:nth-child(4) {
    order: 5;
}
.ProductList-filter-list-item:nth-child(6) {
    order: 6;
}
</style>

 

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.