Shopify themes, liquid, logos, and UX
Hello there,
I'd like to remove the following "Sort by" option within my prestige theme:
I've already tried several tipps from here, e.g. like this one:
button#option-a737cb2d-0cb9-488a-9f74-4a291c2800b8 { display: none; }
But it's not working. Maybe it's because I'm using the newest Prestige Version (10.0.2)?
I would also like to add only certain values to the filter options. For “Sizes”, for example, I don't want to show all values as filter options, but only manually selected ones (only size 52-64, but not size 96-X-179-cm etc). How can I customize these filters?
Thank you very much in advance,
Chrissy
Hi,
> I'd like to remove the following "Sort by" option within my prestige theme:
The your expected here are you want set default other option instead of "Sort by", right?
> Second point?
Do you have use any app to filter?
Hello,
Thank you for your reply.
No, I would like to keep the “Sort by” options, but there are too many for me. I only want to keep the following options (see picture).
No, I am not currently using a filter app.
Best regards
Hi @chrissy8329 ,
I'd be happy to help you with customizing the sorting options on your collection page. Could you please share the link to your collection page so we can take a closer look at the CSS selector and provide a CSS solution? However, I think it would be even better if we could eliminate the sortby options from the liquid code itself.
In the meantime, you may find this link to a liquid solution helpful:
https://community.shopify.com/c/shopify-design/customise-sorting-option-on-collection-page/td-p/6645....
For customizing the displayed filter options, I recommend using the Shopify Search & Discovery App.
It's a powerful tool that can help you achieve your desired outcome.
Let's connect and grow your Shopify business together!
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- Connect with me at: roy.solution.partner@gmail.com ( CRO | Site Speed Optimization | Custom Development )
Hello Roy,
thanks for your reply.
I did now find a solution regarding the filters within the Search & Discovery App. Thanks!
But regarding the "Sort by" problem: I'm not live yet, so I can't share a link, I'm sorry.
And would you be so kind and send the link again? It wasn't clickable unfortunately.
Thank you very much in advance,
Chrissy
I am glad that it worked.
Regarding the "Sort by" problem. I think I just have the solution for you. There is a bit of coding involved I hope its not much of a hassle.
1. To get started navigate to Online Store > Themes > Customize.
2. Go to Theme settings.
3. Add this code in the Custom CSS field.
[value="title-ascending"],
[value="title-descending"] {
display: none;
}
4. It should look like this:
5. If everything works out fine then the Alphabetically, A-Z and Alphabetically, Z-A should be removed from the sort by dropdown now.
6. To remove the rest we need to right click on the option and inspect it. In the dev tools it will highlight the inspected element and we just need to get the "value" attribute. It can be too complex, if you are having difficulties please just share me the screenshot of the inspected options. I will change the given code and make the necessary modifications to apply it on the rest.
Let's connect and grow your Shopify business together!
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- Connect with me at: roy.solution.partner@gmail.com ( CRO | Site Speed Optimization | Custom Development )
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025