Jump to content

Category Order

Recommended Posts

  • Replies 4
  • Views 521
  • Created
  • Last Reply

Add to Home > Design > Custom CSS

@media screen and (min-width:641px) {
.ProductList-filter-list {
    display: flex;
    justify-content: center;
}
.ProductList-filter-list>li:nth-child(1) {
    order: 1;
}
.ProductList-filter-list>li:nth-child(4) {
    order: 2 !important;
}
.ProductList-filter-list>li:nth-child(5) {
    order: 3;
}
}

Repeat for other items

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
3 hours ago, LeeLee said:

Thanks TuanPhan!!

I have copied the code and the extra lines

It has reordered but I can't get a space between tshirts and long 

image.png.bf8e6f8cc7f4927304aa54d6c303fe1d.png

Do you know what I can enter to fix this please? 

Thanks, 

Leanne

edit your code

.ProductList-filter-list>li:nth-child(5) {
    order: 3 !important;
    margin-right: 1em;
}

 

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.