Hi,
I tried this solution to hide certain options in the sort by pulldown, but the change got reflected only on desktop and not on mobile.
Could someone please help?
I’m using a Dawn theme.
Thank you so much!
A user encountered an issue where custom code to hide certain sort options in the Dawn theme’s dropdown menu worked on desktop but not on mobile.
Problem Details:
Solution Provided:
A contributor provided custom CSS code to be added in theme.liquid file above the </body> tag. The code specifically targets and hides unwanted sort options while keeping:
Outcome:
The original poster confirmed the solution worked successfully. However, a subsequent user reported the same issue persists on the latest Dawn theme version, indicating the problem may have resurfaced or requires additional adjustments for newer theme versions.
Hi,
I tried this solution to hide certain options in the sort by pulldown, but the change got reflected only on desktop and not on mobile.
Could someone please help?
I’m using a Dawn theme.
Thank you so much!
Hey @Ulalala ,
Can I have the link to your store, along with the store password (if any)
Hey @Ulalala ,
What are the sort options you want to remove?
I’d like to keep Price hight to low, Price low to high and Date new to old that are there now on the desktop view, and remove everything else.
Thank you!!
Hey @Ulalala ,
Go to your theme’s “Edit Code” Option, then in the search bar type “theme.liquid”
Scroll all the way down and above the tag “” tag paste the following. Screenshot attached for reference.
Screenshot is for reference only, the correct code to paste is the one shown above.
Wow it worked!! I’m so relieved, thank you so much for your quick response and huge help!! ![]()
I tried this solution, it removed the options from desktop view but are still showing up in mobile view. Im using the latest version of dawn theme, could you help me on what changes to do?