I would like to make all buttons transparent with a black border and give them a hover color.
Right now some buttons have a hover color, some section buttons don’t and the cart button doesn’t either.
I would like to have a code where I can go back and easily change the colors for the buttons with hex color codes, the border thickness, text color, as well as text font and size… as I like to change things up every now and then
You can go back to same file, button.css, if you want to change it. For changing the font, the code is in the mixin.css under the same folder, Asset folder. But if you want to override the font, you can still paste the code at the button.css.
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
Oh. My bad, it might be from a flickity external library you are using. You can use the base.css instead. For some reason, I do see the button works already?
Thanks @Dan-From-Ryviu it’s working! Is it possible to remove the border on hover?
And, I am realising that buttons over darker images cannot be transparent, or the text must be white. Do you have a solution for this? Thank you!
Great, thank you @Dan-From-Ryviu !
And what about the buttons over images in the hero sections? The buttons over darker images cannot be transparent, I would like to keep them solid white plus the hover color. Do you have a solution for this? Thank you
Oh and… can the button hover size be the same as the button with the border? Because the whole section moves and shrinks slighty when hovering over the button as it is gets a bit smaller.
And I just noticed that the hero code also affects the slide sections which I don’t want. Can we block it there so the buttons remain transparent with border?
@Dan-From-Ryviu
The code is like this now. Everything looks great except for the slide sections (split optional slide sections) are solid white instead of transparent with border and the labels are black with black text.