Removing some of the sort by options in dawn

Removing some of the sort by options in dawn

ewanm
Tourist
4 0 2

Hi, i am wanting to hide some of the sort by options and i am finding it a bit difficult. 

 

I would like to remove the Featured, Best selling, Alphabetically A-Z, Alphabetically Z-A options

 

Any help would be greatly appreciated  

 

Replies 6 (6)

Made4uo-Ribe
Shopify Partner
9670 2301 2870

Hi @ewanm 

PLease, share your store URL. Thanks!

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.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
ewanm
Tourist
4 0 2
Made4uo-Ribe
Shopify Partner
9670 2301 2870

Thanks for the info, 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:

 

 

.select option[value="manual"], .select option[value="best-selling"], 
.select option[value="title-ascending"], .select option[value="title-descending"] {
    display: none;
}

 

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1734472080811.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.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
ewanm
Tourist
4 0 2

Hi, thank you for this.

 

I have just added this and it has worked on desktop, but on mobile it has still stayed the same and is still showing all options. Is there a way for it to change on both.

 

Thanks

Made4uo-Ribe
Shopify Partner
9670 2301 2870

I edit the code, please copy and replace. Thanks!

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.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
ewanm
Tourist
4 0 2

Hi, this is still working the same as before only on desktop and not on mobile. Thanks