Archived topic
SVG Icon's all have borders round them
1 reply · Started by William on May 14, 2021
Viewing posts 1–2 of 2
Hi Guys,
When I upload SVGs to our home page, they appear with a border around them no matter what I try. Is there something I'm doing wrong here? Seems to be fine on most other pages on the website, just the home page.
Thanks,
Will
Hi there,
its in the cls-1 CSS thats attached to the SVGs ie.
.cls-1 {
fill: none;
stroke: #5f88af;
stroke-miterlimit: 10;
stroke-width: 4px;
}
If you cannot edit it in the original SVG CSS - then overwrite it like so:
svg .cls-1 {
stroke-width: 0;
}
This archived topic is closed to new replies.