INFRA
1
Hi there,
I’ve changed the colour of my button but somehow it has a default border that shows on hover. Can I get rid of this?
Used below code for the change of color, tried to add ‘border: none’ but this didn’t work.
.button:hover {
background-color: #4b0059;
color: white;
}
Website - bottom section
password: waiheke
thanks!
EBOOST
2
Hi @INFRA ,
May I suggest to update code these steps:
- Go to Store Online-> theme → edit code
- Assets/base.css
- Add code below to end of file
body .button:hover:after {
--border-offset: 0px!important;
}
1 Like
Hello @INFRA
Go to online store ----> themes ----> actions ----> edit code ----> base.css
add this code at the end of the file and save.
.button,
--border-opacity: 0px !important;
}
result
If this was helpful, hit the like button and accept the solution.
Thanks
1 Like