Shopify themes, liquid, logos, and UX
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!
Solved! Go to the solution
This is an accepted solution.
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!
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>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
This is an accepted solution.
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!
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>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
As 2024 wraps up, the dropshipping landscape is already shifting towards 2025's trends....
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024