Home › Forums › WoodMart support forum › BUG: SVG gets colored with primary color › Reply To: BUG: SVG gets colored with primary color
Adrenaline22
Of course. Do you need screenshots?
The PHP code is added in the functions.php of the child theme. Child theme is uploaded and selected in appearence > Themes. ID is added in SVGs.
<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" width="31" height="65" viewBox="0 0 31 65" fill="none" id="svg-arrow-1"><path d="M30.8 32.5L0 65L19.8 32.5L7.3 0L30.8 32.5Z" fill="url(#paint0_linear)"></path><defs><linearGradient id="paint0_linear" x1="15.415" y1="65.02" x2="15.415" y2="0" gradientUnits="userSpaceOnUse"><stop offset="0.28" stop-color="#F26222"></stop><stop offset="0.53" stop-color="#FEBC11"></stop><stop offset="0.84" stop-color="#F26222"></stop></linearGradient></defs></svg>