How to fix the sort by button colour?

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

1 Like

Hi @CarEQ

Please, share your store URL. Thanks!

https://careqstore.com Here it is

Thanks for the info, try this one.

  1. From your Shopify admin dashboard, click on ā€œOnline Storeā€ and then ā€œThemesā€.
  2. Find the theme that you want to edit and click on ā€œActionsā€ and then ā€œEdit codeā€.
  3. 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;

}

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!