How to make the filter button text a different color

Solved

How to make the filter button text a different color

Viibed
Excursionist
23 0 5

I am designing my products page and noticed that my filter text color button is black while everything else is white.

Viibed_0-1722198425769.png

How do I change this to white without changing the theme colors?

Here is my website: Products – Viibed 

 

Thank you!

Accepted Solution (1)

GTLOfficial
Shopify Partner
784 162 172

This is an accepted solution.

Hello @Viibed 
Go to online store ---------> themes --------------> actions ------> edit code------->assets ---> component-facets.css

.mobile-facets__open {
color: rgba(94, 238, 14, 0.85) !important;
}
.mobile-facets__open:hover {
color: white !important;
}

and the result will be
3.png

on hover this will display color white.

If this was helpful, hit the like button and mark the job as completed.
Thanks

- Buy me a Pizza
- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on the store Hire me. GTL web solutions
- Want Complete Storefront: Send an email ⇨- Email: info@gtlofficial.com - Skype: ritesh_27dh

View solution in original post

Replies 7 (7)

vinh0225
Shopify Partner
128 26 25

Hi @Viibed 

I can help you. Do you want this result?

vinh0225_0-1722203910070.png

 

Was my response useful?  Click Like to let me know!
Was your query resolved? ✓ Mark it as a Resolved Solution
If you need custom Shopify changes, ️you can hire me.
Contact me at  ✉️ jalicorich@gmail.com.
Viibed
Excursionist
23 0 5

Yes, but with the filter icon being white too.

vinh0225
Shopify Partner
128 26 25

Please try to add this code in layout/theme.liquid file.

<style>
.mobile-facets__disclosure .mobile-facets__open-wrapper .mobile-facets__open .icon-filter {
	color: white;
}

.mobile-facets__disclosure .mobile-facets__open-wrapper .mobile-facets__open .mobile-facets__open-label {
	color: white;
}
</style>
Was my response useful?  Click Like to let me know!
Was your query resolved? ✓ Mark it as a Resolved Solution
If you need custom Shopify changes, ️you can hire me.
Contact me at  ✉️ jalicorich@gmail.com.
Viibed
Excursionist
23 0 5

I put in the code, but it did not change anything.

vinh0225
Shopify Partner
128 26 25

If you correctly added the code in the layout/theme.liquid, we should see it in the website source code.

However, I can't find it added yet.

vinh0225_0-1722223421846.png

If you want me to work on your theme, please provide me with the collaborator access.

Was my response useful?  Click Like to let me know!
Was your query resolved? ✓ Mark it as a Resolved Solution
If you need custom Shopify changes, ️you can hire me.
Contact me at  ✉️ jalicorich@gmail.com.

ZestardTech
Shopify Partner
6095 1091 1463

Hello There,

 

1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset > base.css and paste this at the bottom of the file:

 

.mobile-facets__open {
color: white;
}
.mobile-facets__open:hover {
color: white;
}

 

ZestardTech_0-1722230639359.png

 

Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Email: support@zestard.com
Shopify Apps URL :- https://apps.shopify.com/partners/zestard-technologies
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing

GTLOfficial
Shopify Partner
784 162 172

This is an accepted solution.

Hello @Viibed 
Go to online store ---------> themes --------------> actions ------> edit code------->assets ---> component-facets.css

.mobile-facets__open {
color: rgba(94, 238, 14, 0.85) !important;
}
.mobile-facets__open:hover {
color: white !important;
}

and the result will be
3.png

on hover this will display color white.

If this was helpful, hit the like button and mark the job as completed.
Thanks

- Buy me a Pizza
- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on the store Hire me. GTL web solutions
- Want Complete Storefront: Send an email ⇨- Email: info@gtlofficial.com - Skype: ritesh_27dh