New Shopify Certification now available: Liquid Storefronts for Theme Developers

Collection filter drop down has the same color text and background

Solved
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
4243 981 1196

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
Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


View solution in original post

Replies 5 (5)
Made4uo-Ribe
Shopify Partner
4243 981 1196

Hi @DakotaJ138 

Would you mind to share your store URL website? with password if its protected. Thanks!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


DakotaJ138
Tourist
4 1 2

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

Here is an example collection.

Made4uo-Ribe
Shopify Partner
4243 981 1196

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
Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


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.