Have your say in Community Polls: What was/is your greatest motivation to start your own business?

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

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
9035 2160 2664

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!

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.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.

View solution in original post

niraj_patel
Shopify Partner
2378 514 507

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.

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
9035 2160 2664

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!

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.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.

niraj_patel
Shopify Partner
2378 514 507

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.

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