My current buttons are white background with black type. I want the button background to be more transparent so one sees the image beneath vs a big white box. I have played with opacity and the Theme colors, but I am not finding a way to make the white more transparent/see-through. Your help would be appreciated!
You can check through your theme editor and go to theme settings where you will see color…
Check through the button color to make it transparent… If you need help kindly let me know
Hi @ALJ ,
-
Go to your Admin store > Online store > Themes > Click Actions > Edit code
-
Open the base.css file under your Asset folder. Then paste the code below
You can change the opacity from 0 to 1.
.button.button--primary {
opacity: 0.5;
}
If you want to include the hover effect to have the opacity back to 1, just use the code below.
.button.button--primary {
opacity: 0.5;
transition: opacity .5s ease;
}
.button.button--primary:hover {
opacity: 1;
}
I may be blind but I see nothing that refers to the word transparency for Accent 1 (used for solid button background). Where is that?
Excellent, that helped a lot!
I would like to remove that black pin line border around the button as well. Can you advise?
These settings were already in place as described below and I’m still getting that pin line border.
Thanks but I had those exact settings before, but still see the pin line border.
Try to add the code below.
.button.button--primary {
border: none !important;
outline: none !important;
box-shadow: none !important;
}
It might be best to see you website url as well, if this code does not work
thank you
I did add this snippet to base.css and saved but didn’t seem to change.
Can you provide your website?
OK. I fixed the domain name issue in the header. It now reads vanillasoftheworld.com.
Still can use your help with the very faint pin line border.
Hi @ALJ ,
Have you tried to make the setting of the button with no box-shadow?
You can also add this code below
.button.button--primary:hover {
border: none !important;
outline: none !important;
box-shadow: none !important;
}
Hi @ALJ ,
Sorry about that. I did not look on the pseudo items. This should fix it.
.button.button--primary:before {
display: none !important
}
.button.button--primary:after{
display: none !important
}
Hi there,
I have a follow up question for Dawn theme. Want to increase the font size of product prices (wherever they appear). Would one edit this existing language inTemplates, product.json
“price”: {
“type”: “price”,
“settings”: {
}
or up in the Layout theme.liquid?





