Shopify themes, liquid, logos, and UX
Hello,
I have a button on my homepage that when I move my cursor over it there is a white outline.
I want the button to be a black outline all the time so I am wondering if there is a way to alter this.
website: tourbrand.us
password: task1data
When cursor is hovered over:
How it regularly looks:
Solved! Go to the solution
This is an accepted solution.
Sure, you can add this to your CSS file.
I guess it is the index.css file in your case.
a.button.button--primary:hover {
border: 2.5px solid black !important;
}
This is an accepted solution.
Yup, you will have to unset the button color:
@media screen and (min-width: 750px)
.banner--desktop-transparent .banner__box {
--color-button: none !important;
}
This is an accepted solution.
Sure, you can add this to your CSS file.
I guess it is the index.css file in your case.
a.button.button--primary:hover {
border: 2.5px solid black !important;
}
Thank you for your response.
There is still a white outline between the black and green.
Is that something that cannot be removed?
This is an accepted solution.
Yup, you will have to unset the button color:
@media screen and (min-width: 750px)
.banner--desktop-transparent .banner__box {
--color-button: none !important;
}
Awesome it worked! thank you so much.
User | RANK |
---|---|
182 | |
150 | |
80 | |
72 | |
61 |
Explore the 30-30-30 rule, a dynamic social media strategy for new businesses. Learn how t...
By Trevor Sep 20, 2023Discover how to leverage the often overlooked footer of your ecommerce site to gain custom...
By Skye Sep 15, 2023In this blog, we’ll be shining a light on Shopify Partners, Experts, and Affiliates. Who a...
By Imogen Sep 13, 2023