Collection filter drop down has the same color text and background

Solved

Collection filter drop down has the same color text and background

DakotaJ138
Tourist
4 1 2

I know that there's been discussion on this topic before. But the issue persists even after trying the solutions that I have seen from the other posts. Here is a screenshot of what I mean.


DakotaJ138_0-1696536610980.png

The text for my website is white. The background is dark. That's what I want. But because this filter just uses the same color value as the rest of my website, it blends in. There's no way to get around this without also changing the text for the rest of my website. What is the solution? Not that it should matter, but it is using the Dawn theme 10.0.

Accepted Solutions (2)

DakotaJ138
Tourist
4 1 2

This is an accepted solution.

Here is the solution.

DakotaJ138_0-1696541189848.png

component-facets.css > facet-filters__sort 
Just change the background color value (it originally was set to transparent) to whatever you want.

DakotaJ138_1-1696541307743.png

Problem Solved.

 

View solution in original post

Made4uo-Ribe
Shopify Partner
9846 2341 2936

This is an accepted solution.

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:

 

select#SortBy {
    background: #2b2d42 !important;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1696541376629.png
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.

View solution in original post

Replies 7 (7)

Made4uo-Ribe
Shopify Partner
9846 2341 2936

Hi @DakotaJ138 

Would you mind to share your store URL website? with password if its protected. 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.
DakotaJ138
Tourist
4 1 2

Sure thing.
https://nonamenecessities.com/collections/womens-sales

Here is an example collection.

Made4uo-Ribe
Shopify Partner
9846 2341 2936

This is an accepted solution.

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:

 

select#SortBy {
    background: #2b2d42 !important;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1696541376629.png
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.
DakotaJ138
Tourist
4 1 2

I know it is related to facet-filters, but I couldn't get it to work when I edited the code. Maybe I did something incorrectly.
<select name="sort_by" class="facet-filters__sort select__select caption-large" id="SortBy" aria-describedby="a11y-refresh-page-message"><option value="manual">
Featured

DakotaJ138
Tourist
4 1 2

This is an accepted solution.

Here is the solution.

DakotaJ138_0-1696541189848.png

component-facets.css > facet-filters__sort 
Just change the background color value (it originally was set to transparent) to whatever you want.

DakotaJ138_1-1696541307743.png

Problem Solved.

 

plants4friendz
Explorer
46 1 10

Can you help me with this? I tried the solutions provided, but they did not work.


www.thespiralpath.love/collections/frontpage

 

I'm aiming for a white background with black text. Thanks so much!

 

Screenshot 2024-09-20 at 8.02.29 PM.png

Made4uo-Ribe
Shopify Partner
9846 2341 2936

Hi @plants4friendz 

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.

 

div#Facet-1-template--17443031974133__product-grid * {
    color: #fff;
}

 

And Save. 

result:

Made4uoRibe_0-1726934008742.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 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.