We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Remove some sorting options

Solved

Remove some sorting options

SevFilms
Visitor
2 0 1

Hi all

 

I'm currently using the expanse theme and would like to remove the sort by date (new to old and old to new) from the sorting options. I cannot work out how to do this at all. Any help would be much appreciated.

 

URL is https://severinfilms.co.uk/

 

Thanks

Accepted Solution (1)

Moeed
Shopify Partner
7764 2082 2567

This is an accepted solution.

Hey @SevFilms 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
.collection-filter__inner select option[value="created-ascending"], .collection-filter__inner select option[value="created-descending"] {
    display: none !important;
}
</style>

RESULT:

Moeed_0-1728653076494.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


View solution in original post

Replies 4 (4)

Moeed
Shopify Partner
7764 2082 2567

This is an accepted solution.

Hey @SevFilms 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
.collection-filter__inner select option[value="created-ascending"], .collection-filter__inner select option[value="created-descending"] {
    display: none !important;
}
</style>

RESULT:

Moeed_0-1728653076494.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


SevFilms
Visitor
2 0 1

Thank you so much, this worked perfectly and was so easy to follow your instructions

Moeed
Shopify Partner
7764 2082 2567

Thank you for your reply. I'm glad to hear that the solution worked well for you. If you require any more help, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


Made4uo-Ribe
Shopify Partner
10211 2427 3079

Hi @SevFilms 

Try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. 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:

 

.collection-filter__sort option[value="created-ascending"], 
.collection-filter__sort option[value="created-descending"] {
    display: none;
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1728654827015.png

     

 

 Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.