Re: Remove filter Date, new to old on website

Remove filter Date, new to old on website

Fiammetta
Tourist
7 0 3

Hi everyone! 

 

We would like to remove the filter New to old within the product search on our website. Can anyone help me with that? We are using Impulse theme. Thank you very much in advance!

Laura

ingridemil.ch

Replies 6 (6)

Moeed
Shopify Partner
5434 1471 1757

Hey @Fiammetta 

 

Can you share a screenshot of exactly what you want to remove?

 

Best Regards,

Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Custom Design | Advanced Coding | Store Modifications


Fiammetta
Tourist
7 0 3

Dear Moeed,

 

I'd like to have the two lines highlighted in yellow removed.

 

Thank you in advance.

 

My best,

Laura

Screenshot 2024-09-05 at 15.14.25.png

Tech_Coding
Shopify Partner
309 80 71

Hello @Fiammetta 

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
   select#SortBy option[value="created-descending"] {
      display: none !important;
    }
</style>

Tech_Coding_0-1725532623669.png

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.

Rahul_dhiman
Shopify Partner
558 111 109

Hello @Fiammetta 
Go to online store ----> themes ----> actions ----> edit code ----> assets ----> partials ---->forms.css
add this code at the end of the file.

option:nth-child(9) {
display: none !important;
}

result
15.png

If this was helpful, hit the like button and accept the solution.
Thanks

Was I helpful?

Buy me a coffee



Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront
Email me [email protected] - Skype: live:dhiman.639
Checkout Some Free Sections Here
Mobile:- +91 62390-46167
Fiammetta
Tourist
7 0 3

Dear Rahul,

 

Thank you! Unfortunately i don't have a file that is named forms.css under assets. I only have the file names attached under assets:

 

Screenshot 2024-09-06 at 13.14.33.png

Made4uo-Ribe
Shopify Partner
8274 1985 2435

Hi @Fiammetta 

Check this one. 

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

 

.collection-filter select option:nth-child(9) {
    display: none;
}

 

And Save. 

result:

Made4uoRibe_0-1725542461513.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.