Jump to content

How do I reorder categories in the Brine theme?

Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Try this out in Custom CSS:

.ProductList-filter-list {
    display: flex;
}

.ProductList-filter-list-item:nth-child(2) {
    order: 4;
}
.ProductList-filter-list-item:nth-child(3) {
    order: 2;
}
.ProductList-filter-list-item:nth-child(4) {
    order: 3;
}
.ProductList-filter-list-item:nth-child(5) {
    order: 5;
}
.ProductList-filter-list-item:nth-child(6) {
    order: 5;
}
.ProductList-filter-list-item:nth-child(7) {
    order: 8;
}
.ProductList-filter-list-item:nth-child(8) {
    order: 1;
}
.ProductList-filter-list-item:nth-child(9) {
    order: 7;
    margin-right: 15px;
}

The single margin-right style is there because it is the last element (Upcycled in your case) and doesn't have a right margin so we need to add one for even spacing.

Edited by mess_cal
Link to comment
18 hours ago, mess_cal said:

Try this out in Custom CSS:


.ProductList-filter-list {
    display: flex;
}

.ProductList-filter-list-item:nth-child(2) {
    order: 4;
}
.ProductList-filter-list-item:nth-child(3) {
    order: 2;
}
.ProductList-filter-list-item:nth-child(4) {
    order: 3;
}
.ProductList-filter-list-item:nth-child(5) {
    order: 5;
}
.ProductList-filter-list-item:nth-child(6) {
    order: 5;
}
.ProductList-filter-list-item:nth-child(7) {
    order: 8;
}
.ProductList-filter-list-item:nth-child(8) {
    order: 1;
}
.ProductList-filter-list-item:nth-child(9) {
    order: 7;
    margin-right: 15px;
}

The single margin-right style is there because it is the last element (Upcycled in your case) and doesn't have a right margin so we need to add one for even spacing.

Oh wow! great, it works! thank you so much!!!

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.