Issue with Button Opacity and Background Color in Dawn Theme

Solved

Issue with Button Opacity and Background Color in Dawn Theme

laurafaye93
Shopify Partner
2 0 1

Screenshot 2024-08-20 at 17.36.21.pngHi!

 

I’m encountering an issue with the button styling on my Shopify store using the Dawn theme. The problem involves the button's background colour appearing faint or inconsistent, and I’m not sure whether it’s due to an overlay effect or another cause? 

 

Any help will be gratefully appreciated 

Accepted Solution (1)

niraj_patel
Shopify Partner
2391 516 517

This is an accepted solution.

Hello @laurafaye93 

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
 .button[aria-disabled=true]{
     cursor: pointer !important;
     opacity: 1 !important;
}
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

 

Try this other wise  share your store URL?

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com

View solution in original post

Replies 4 (4)

Rizwan86
Visitor
1 0 1

If you’re having issues with button opacity and background color in the Dawn theme on Shopify, ensure that your CSS overrides are correctly applied and check for any conflicting styles in the theme settings. Adjust the CSS for the button class or use the theme editor to resolve these styling issues.

niraj_patel
Shopify Partner
2391 516 517

This is an accepted solution.

Hello @laurafaye93 

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
 .button[aria-disabled=true]{
     cursor: pointer !important;
     opacity: 1 !important;
}
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

 

Try this other wise  share your store URL?

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com
laurafaye93
Shopify Partner
2 0 1

You are amazing!! Thank you that's worked!! 

MadhurGautam
Shopify Partner
1 0 0

Just to add a note sometimes when the button has no link to redirect it shows faded BG like a disabled button just add "#" in the button URL to check