Thute
1
Hi, I wanted to go from a square to circular button shape, so I used this code
.button, .customer button, .shopify-challenge__button {border-radius: 100px;}
and put it on base.css, but this was the result
how do i get rid of the border outline or make the
zaczee
2
Hi,
Can you share your store url
Hello @Thute
You can add code by following these steps
- Go to Online Store → Theme → Edit code.
- Open your base.css file
- Paste the below code at bottom
a.button.button–primary {
border-radius:25px;
}
.button::before{
content: “”;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: -1;
border-radius: var(–buttons-radius-outset);
box-shadow: unset !important;
}
.button::after{
content: “”;
position: absolute;
top: var(–buttons-border-width);
right: var(–buttons-border-width);
bottom: var(–buttons-border-width);
left: var(–buttons-border-width);
z-index: 1;
border-radius: var(–buttons-radius);
box-shadow: unset !important;
transition: box-shadow var(–duration-short) ease;
}