Solved

Changing the background color on buttons in a text-with-image section

MoonRoosterLLC
Shopify Partner
7 1 2

Hello! I want to change the background color of the button on this image-with-text section but it seems like there is conflicting styling that is causing the button background color to be more opaque than intended. How can I fix that? 

https://tr-healthy-bites.myshopify.com/
MoonRooster711!

Screenshot 2024-03-11 at 08.54.56.png

Brian Lalli
Accepted Solutions (2)

Made4uo-Ribe
Shopify Partner
6005 1445 1783

This is an accepted solution.

Hi @MoonRoosterLLC 

Seems like you add some code to have an opacity for the buttons. And also let the cursor not allowed to the buttons.

Made4uoRibe_0-1710162278428.png

I only change the opacity in the image with text button.

Check 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:

 

.button[aria-disabled=true] {
    opacity: 1;
}

 

And Save. 

Result:

Made4uoRibe_1-1710162367143.png

 

 

 

Please don't forget to Like and Mark Solution to the post that helped you. 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.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at

Made4uo.com


View solution in original post

techlyser_web
Shopify Partner
1493 275 295

This is an accepted solution.

Hello @MoonRoosterLLC 

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.5 !important;
  }
</style>

techlyser_web_0-1710162756517.png

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Techlyser || 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 2 (2)

Made4uo-Ribe
Shopify Partner
6005 1445 1783

This is an accepted solution.

Hi @MoonRoosterLLC 

Seems like you add some code to have an opacity for the buttons. And also let the cursor not allowed to the buttons.

Made4uoRibe_0-1710162278428.png

I only change the opacity in the image with text button.

Check 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:

 

.button[aria-disabled=true] {
    opacity: 1;
}

 

And Save. 

Result:

Made4uoRibe_1-1710162367143.png

 

 

 

Please don't forget to Like and Mark Solution to the post that helped you. 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.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at

Made4uo.com


techlyser_web
Shopify Partner
1493 275 295

This is an accepted solution.

Hello @MoonRoosterLLC 

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.5 !important;
  }
</style>

techlyser_web_0-1710162756517.png

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Techlyser || 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