Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Re-ordering shop categories BEDFORD


Webswool
Go to solution Solved by tuanphan,

Question

Site URL: https://gratolondon.com/shop-products

Hello peeps.

Trying to re-order the categories in this online shop but really struggling to use the right target. This is my first time working with Bedford (I'm a Brine girl...) so it's been a learning curve anyway.

I feel like I've tried every single suggestion on this forum and so far, NONE have worked. Anyone know how to target the category types in Bedford?? @tuanphan I know you've done 9488493946389463 guides on this particular topic but so far can't find one that works for me.

Thanks!

Sammi x 

Link to post
  • Answers 10
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Popular Posts

Add to Home > Design > Custom CSS /* category reorder */ ul.category-nav-links { display: flex; flex-direction: column; } /* Shop products */ ul.category-nav-links>li:nth-child(1

Add to Home > Design > Custom CSS @media screen and (max-width:700px) { div#productList { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-column-gap: 5px; } }

10 answers to this question

Recommended Posts

  • 0
4 hours ago, Webswool said:

Hi @tuanphan - if ALL could be at the top please!

Add to Home > Design > Custom CSS


/* category reorder */
ul.category-nav-links {
    display: flex;
    flex-direction: column;
}
/* Shop products */
ul.category-nav-links>li:nth-child(1) {
    order: 1;
}
/* empty item */
ul.category-nav-links>li:nth-child(2) {
    order: 2;
}
/* All */
ul.category-nav-links>li:nth-child(3) {
    order: 3;
}
/* ready to bake pastas */
ul.category-nav-links>li:nth-child(6) {
    order: 4;
}
/* weekend specials */
ul.category-nav-links>li:nth-child(9) {
    order: 5;
}
/* desserts */
ul.category-nav-links>li:nth-child(4) {
    order: 6;
}
/* red wine */
ul.category-nav-links>li:nth-child(7) {
    order: 7;
}
/* white wine */
ul.category-nav-links>li:nth-child(10) {
    order: 8;
}
/* prosecco champagne */
ul.category-nav-links>li:nth-child(5) {
    order: 9;
}
/* spirits */
ul.category-nav-links>li:nth-child(8) {
    order: 10;
}

 

You can send your question to my email to get detail answer. / How to Setup Password & Share URL

--- Happy New Year

Link to post
  • 0
3 minutes ago, tuanphan said:

Add to Home > Design > Custom CSS



/* category reorder */
ul.category-nav-links {
    display: flex;
    flex-direction: column;
}
/* Shop products */
ul.category-nav-links>li:nth-child(1) {
    order: 1;
}
/* empty item */
ul.category-nav-links>li:nth-child(2) {
    order: 2;
}
/* All */
ul.category-nav-links>li:nth-child(3) {
    order: 3;
}
/* ready to bake pastas */
ul.category-nav-links>li:nth-child(6) {
    order: 4;
}
/* weekend specials */
ul.category-nav-links>li:nth-child(9) {
    order: 5;
}
/* desserts */
ul.category-nav-links>li:nth-child(4) {
    order: 6;
}
/* red wine */
ul.category-nav-links>li:nth-child(7) {
    order: 7;
}
/* white wine */
ul.category-nav-links>li:nth-child(10) {
    order: 8;
}
/* prosecco champagne */
ul.category-nav-links>li:nth-child(5) {
    order: 9;
}
/* spirits */
ul.category-nav-links>li:nth-child(8) {
    order: 10;
}

 

Thank you so much @tuanphan!!! Hugely appreciate this!

Link to post
  • 0
2 hours ago, tuanphan said:

I see mobile shop page has long content. Do you want change to 2 products/row or consider adding a back to top button.

Ohh good idea! I think I could pop a 'back to top' button in there as I've used that before. 

I'm not sure how to stipulate 2 rows on a mobile device though.

Link to post
  • 0
On 11/19/2020 at 12:05 AM, Webswool said:

Ohh good idea! I think I could pop a 'back to top' button in there as I've used that before. 

I'm not sure how to stipulate 2 rows on a mobile device though.

Add to Home > Design > Custom CSS

@media screen and (max-width:700px) {
div#productList {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    grid-column-gap: 5px;
}
}

 

You can send your question to my email to get detail answer. / How to Setup Password & Share URL

--- Happy New Year

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...