Re: Dawn Template: Overlay Colour When I Click On "Filter"

Dawn Template: Overlay Colour When I Click On "Filter"

Angela86
Excursionist
28 1 4

Hello, 

I have this problem, it turns pink when I click on "Filter", which I want to turn it darker as I click on "cart" or "search".
If you go "Single Origin" and then it appears the link to "filter" when I click on this, the background screen turns pink, and I just want to turn darker only.

 

I already added the coding in Base.css

details[open] .modal-overlay::after, .drawer { background: #333333; opacity: 0.8; }

details[open] .modal-overlay::after, .drawer {
background-color: #00000078 !important;
}

details[open] .modal-overlay::after {

background: hsl(0deg 0% 13% / 72%) !important;

}

Captura de pantalla 2024-04-01 a la(s) 9.02.47 a.m..png

However, it doesn't work with clicking on "Filter". I want it to become darker and not Pink

URL: www.doecoffee.com

How I can fix it?
Thank you

Replies 11 (11)

Raj-webdesigner
Shopify Partner
358 90 87

Add This Css In Base.css File

 

@media screen and (max-width:767px){
    .header__icon--menu[aria-expanded='true']::before{
        background: #0000009c !important;
    }
    details[open] .modal-overlay::after {
        background-color: #0000009c !important;
    }
    .drawer {
        background-color: #0000009c !important;
    }
}

 

Are you looking for Shopify Developer then your search is over I will help you


If you require further help to optimize your store, please don’t hesitate to reach out.


This contribution will always benefit you and you will get my full help easily and you can contact me easily.


Your Willpower Contribution Link

:-

❤️Tip❤️

Contect On My Mail :-Mail@gmail.com


Angela86
Excursionist
28 1 4

It doesn't work.
If you go "Single Origin" and then it appears the link to "filter" when I click on this, the background screen turns pink, and I just want to turn darker only.

Raj-webdesigner
Shopify Partner
358 90 87

Follow My Step,

1) Open Base.css
Find 2605 number LineCopy Name Is

 

.header__icon--menu[aria-expanded='true']::before {

 

Ctrl + D Past Name

 Than

 

 

.header__icon--menu[aria-expanded='true']::before {
  content: '';
  top: 100%;
  left: 0;
  height: calc(var(--viewport-height, 100vh) - (var(--header-bottom-position, 100%)));
  width: 100%;
  display: block;
  position: absolute;
  background-color: hsl(0deg 0% 13% / 72%);
}

 

 

 Change Code With This Code

2) Find Base.css 2676 number Line 

Copy This Name

 

details[open] .modal-overlay::after {

 

Past Ctrl + D Past It

Than

 

details[open] .modal-overlay::after {
  position: absolute;
  content: '';
  background-color: hsl(0deg 0% 13% / 72%);
  top: 100%;
  left: 0;
  right: 0;
  height: 100vh;
}

 


Change This Code 

 

Add This New Css In base.css Code

 

 

.drawer {
   background-color: hsl(0deg 0% 13% / 72%) !important;
}

 

 

Are you looking for Shopify Developer then your search is over I will help you


If you require further help to optimize your store, please don’t hesitate to reach out.


This contribution will always benefit you and you will get my full help easily and you can contact me easily.


Your Willpower Contribution Link

:-

❤️Tip❤️

Contect On My Mail :-Mail@gmail.com


Angela86
Excursionist
28 1 4

@Raj-webdesigner thank you for your reply, but it doesn't work either.

Raj-webdesigner
Shopify Partner
358 90 87

Dm Me in Personal
send Me collaborator Code

Are you looking for Shopify Developer then your search is over I will help you


If you require further help to optimize your store, please don’t hesitate to reach out.


This contribution will always benefit you and you will get my full help easily and you can contact me easily.


Your Willpower Contribution Link

:-

❤️Tip❤️

Contect On My Mail :-Mail@gmail.com


Made4uo-Ribe
Shopify Partner
10036 2386 3012

Hi @Angela86 

I check your base.css there is a code that not belong on the base.css. That would be a cause of the commotion of the changes you want. 

Made4uoRibe_0-1711988936695.png

This is a liquid code. This must be in the liquid file or in the theme.liquid. 

Try to to remove this one or add some comment sign. 

Made4uoRibe_1-1711988998929.png

And Save. 

 

 

 

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.
Angela86
Excursionist
28 1 4

Hi, it doesn't work... either. @Made4uo-Ribe 

Made4uo-Ribe
Shopify Partner
10036 2386 3012

Did you try to add on other file. Like the component-cart-drawer.css. And also please check the hex color that your using seems like a lot of zero. 

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.

Columbus_Themes
Shopify Partner
126 9 16

On your Theme Settings, at bottom of the settings you can see "Custom CSS"

Add:

.header__icon--menu[aria-expanded="true"]::before {
background-color: red;
}

Let me know how things went.

If you find my reply helpful, please hit Like and Mark as Solution.

Happy coding!
Angela86
Excursionist
28 1 4

Hello, thanks @Columbus_Themes , but I don't want red. I just want to become darker when I click "filter" 
I want like this:

Captura de pantalla 2024-04-01 a la(s) 11.52.31 a.m..png

And not like the following:

Captura de pantalla 2024-04-01 a la(s) 9.02.47 a.m..png

This only happens when I click on "filter" which you can find it from the main page---> click on "Single Origin" ----> on the top of the corner of the photos we can find "filter", when you click on it, it opens the window to filter and the background is pink. And I want to change it darker as the first picture.

Thank you,

Columbus_Themes
Shopify Partner
126 9 16

Then change the color instead of red add any hex color code you need 😊

If you find my reply helpful, please hit Like and Mark as Solution.

Happy coding!