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!
1 Like
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.
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:
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
1 Like
Hello @MoonRoosterLLC
You can add code by following these steps
-
Go to Online Store → Theme → Edit code.
-
Open your theme.liquid file
-
Paste the below code before on theme.liquid
.button[aria-disabled=true]{
cursor: pointer !important;
opacity: 1.5 !important;
}
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
1 Like