Remove "Date, old to new" and "Date, new to old" from sort

Theme: Stiletto by Fluorescent

As the title says, I’d like to remove the “Date, old to new” and “Date, new to old” options from sort. Another post instructed going into the code to Section->collection-template.liquid but my theme doesn’t have that.

1 Like

Hi @MichelleSpaTech

Would you mind to share your Store URL website? with password if its protected. Thanks!

Sure it’s www.spatechnologies.com

1 Like

Thank you for the information.

Try this one.

  • From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  • Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  • In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
#filter-bar-sort > ul > li:nth-child(7) {
    display: none;
    
}
  • And Save.

I hope it help.

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

Hi! Thanks for the response! This took away the option for “Date: old to new” but not “Date: new to old”. Would you be able to share a solution for removing the leftover date option?

Update - I realized all I had to do was copy the code again, but change the 7 to 8 to tell it to get rid of the next line.

1 Like