Hello,
I’d like to remove sort by options - www.aestas.com.au
I’d like to remove:
Date, old to new
Alphabetically, A-Z
Alphabetically, Z-A
Bestsellers (or ensure it pulls correctly)
Featured
Could you please let me know how to do this in the code as I am not able to find where.
I am currently working on Lorenza 2.0 theme (Lorenza version 5.1.1) and it not published just yet.
Thanks,
Ash
suyash1
September 2, 2022, 3:37am
2
@MareeAnnCo - please add this css, this one hides date, old to new… you can change the number 7 to the number you want to hide any item. Copy this code for each item you want to hide and change number
.collection-flyout__content .filter-item:nth-child(7) {visibility:hidden; display: none;}
Hello,
Thanks so much for replying.
In which part of the code file do I place this?
Thanks,
Ash
suyash1
September 2, 2022, 3:45am
4
@MareeAnnCo - please add to the very end of index.css file and check
@suyash1 I don’t seem to have that file?
Ive also updated the live theme now to the new theme which is the one that does not have index.css
suyash1
September 2, 2022, 4:31am
7
@MareeAnnCo - check theme.css / theme.css.scss/ theme.css.liquid/ style.css
one of them should be present
Thank you, I have pasted them into theme.css down the bottom but this has not removed them -
.collection-flyout__content .filter-item:nth-child(1) {visibility:hidden; display: none;}
.collection-flyout__content .filter-item:nth-child(2) {visibility:hidden; display: none;}
.collection-flyout__content .filter-item:nth-child(3) {visibility:hidden; display: none;}
.collection-flyout__content .filter-item:nth-child(4) {visibility:hidden; display: none;}
.collection-flyout__content .filter-item:nth-child(7) {visibility:hidden; display: none;}
suyash1
September 2, 2022, 4:40am
9
@MareeAnnCo - this is strange, it should work
That is strange, unfortunately it doesn’t work.
Is there something else I can do because I really need them to be removed.
Is it also possible to change the order of them? As I’d like New Arrivals to be first on the list.
Thanks,
Ash
suyash1
September 2, 2022, 4:43am
11
@MareeAnnCo - I cleared cache and history and it worked
that is super strange, I’m still not able to see this?
Is there a way to get New Arrivals to be at the top of the list?
Thanks,
Ash
suyash1
September 2, 2022, 4:47am
13
@MareeAnnCo - try this
.filter-drawer__list{display: flex;
flex-direction: column-reverse;}
Thank you - I have done that but cannot see if it has worked? As mine is still showing all options and new arrivals is at the bottom
Thanks,
Ash
suyash1
September 2, 2022, 5:16am
15
@MareeAnnCo - you will need to clear cache and history
I have done that however the New Arrivals is still at the bottom. Is this how it is showing for you?
Thanks,
Ash
suyash1
September 2, 2022, 5:26am
17
@MareeAnnCo - not sure then, you are right it is not applied yet, but code is fine
may be it takes little time to load new changes on this theme, you can contact theme support to ask about it
Hi @suyash1
I haven’t had any luck with the theme support and even though I have cleared my history and cache it it is still appearing incorrectly for me? Could you help in anyway?
Thanks,
Ash
suyash1
September 5, 2022, 3:02am
19
@MareeAnnCo - did you change theme layout? code is different than old layout hence it will not work on it
Hi @suyash1
Nope the theme I was editing it on was the Lorenza 2.0 theme - did you have the correct code I could use for this?
Thanks,
Ash