So me and my friend have almost everything ready with the website except one small issue, the sort by button colour is not like we want it to be. To fix it we need to change the colour option for the Text column but it changes all of them. Is there any way we can change the colours of one instead of all of them? Picture down below
Hi @CarEQ
Please, share your store URL. Thanks!
https://careqstore.com Here it is
Thanks for the info, try this one.
- From your Shopify admin dashboard, click on āOnline Storeā and then āThemesā.
- Find the theme that you want to edit and click on āActionsā and then āEdit codeā.
- In the āAssetsā folder, click on ābase.css, style.css or theme.cssā file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
.facet-filters__field .select__select, .mobile-facets__sort .select__select {
background: black;
}
.mobile-facets__open-label.button-label {
color: white;
}
-
And Save.
-
Result:
Iām not sure if it was intended, but I also added color to the missing text on mobile.
-
Result:
Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!
Hi @CarEQ
You can follow the steps here:
Step 1: Shopify admin > Online store > Customize: https://prnt.sc/XQ6IDB99kUCd
Step 2: From the left menu > Theme settings > Open Custom CSS: https://prnt.sc/ypQ7nly2wv27
Step 3: Copy the code below and paste it there
Here is the code for step 3:
form#FacetFiltersForm select#SortBy option {
background: black !important;
color: white !important;
}
Here is the result:
Let me know if it works!
Best,
Daisy
Welcome! Would you mind hitting ālikeā as well? Thanks!