Jump to content

How do I reorder categories in the Brine theme?

Recommended Posts

  • Replies 2
  • Views 462
  • Created
  • Last Reply

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.

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

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.