Shopify themes, liquid, logos, and UX
Hi, I am looking to make the buttons on the home page have a transparent background. Any help would be appreciated. Thanks
Solved! Go to the solution
This is an accepted solution.
@bthorne1 you've currently placed it within the max-width tag - doing so, the changes will be applied only on mobile phones.
Applying the code that I've sent at the very end, after the brackets '}' would reflect the changes for both mobile and desktop.
try the opacity property in your theme css...
find the button selector, and specific
opacity: 0.5;
Hi @Luke_f, I don't see that specific section upon searching the code and scrolling through the button section. I see background, color and border color properties underneath most sections but nothing regarding opacity
Hi there,
You can achieve that through CSS, by adding the below snippet at the end of your theme.min.css file.
.template-index .btn {
background: transparent !important;
}
And to change the color too, you can make use of the below:
.template-index .btn {
background: transparent !important;
color:white !important
}
Cheers!
@GabrielS Thank you, is this the correct placement? I currently am not seeing any changes in this location.
This is an accepted solution.
@bthorne1 you've currently placed it within the max-width tag - doing so, the changes will be applied only on mobile phones.
Applying the code that I've sent at the very end, after the brackets '}' would reflect the changes for both mobile and desktop.
@GabrielS Thank you, I can see it shown now. The only thing is I have a button on the bottom of my home page for a featured collection that is on a white background. With this code applied it is not visible. Is there a way to apply this code to just the image with text overlay and collection list section?
Hello @GabrielS
Do you know how to do it now? The file that you mentioned doesn't exist anymore.
WEBSITE: www.diversusoficial.com
pass: diversusoficial
I want to make like the example
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024