Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Re: How to fix the sort by button colour?

Solved

How to fix the sort by button colour?

CarEQ
Tourist
9 0 3

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

 

Skärmbild 2024-11-07 201556.png

Accepted Solution (1)
Made4uo-Ribe
Shopify Partner
9072 2166 2674

This is an accepted solution.

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;

}

 

  • And Save.
  • Result:
    Made4uoRibe_0-1731013027179.png

    I'm not sure if it was intended, but I also added color to the missing text on mobile.

  • Made4uoRibe_1-1731013082188.png

    Result:

  • Made4uoRibe_2-1731013160533.png

     

 

 Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.

View solution in original post

Replies 5 (5)

Made4uo-Ribe
Shopify Partner
9072 2166 2674

Hi @CarEQ 

Please, share your store URL. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
CarEQ
Tourist
9 0 3
Made4uo-Ribe
Shopify Partner
9072 2166 2674

This is an accepted solution.

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;

}

 

  • And Save.
  • Result:
    Made4uoRibe_0-1731013027179.png

    I'm not sure if it was intended, but I also added color to the missing text on mobile.

  • Made4uoRibe_1-1731013082188.png

    Result:

  • Made4uoRibe_2-1731013160533.png

     

 

 Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
Made4uo-Ribe
Shopify Partner
9072 2166 2674

Welcome! Would you mind hitting 'like' as well? Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.

DaisyVo
Shopify Partner
903 113 130

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:

DaisyVo_0-1731045668244.png

 

Let me know if it works!

 

Best,

Daisy

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution