Shopify themes, liquid, logos, and UX
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
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.