Here’s a step-by-step guide for someone without coding experience:
Open Your SVG File:
Use a simple text editor (like Notepad on Windows or TextEdit on macOS) to open your SVG file.
Locate the Hidden Section:
Inside the file, you’ll see a part that starts with <defs> and includes <style> code. This is where the color is defined indirectly (using a label like .cls-1).
Remove the Hidden Code:
You don’t need that hidden section. Delete everything between <defs> and </defs>, including the <style> code.
Find the Drawing Part:
Look for the line that starts with <path. This is the part that actually draws your icon.
Add the Color Instruction Directly:
In the <path> tag, add the text fill="currentColor". It should look similar to this:
<path fill=“currentColor” d=“M32.73,6.94c-…”/>
This tells the system to use the color from the surrounding element.
6. Save Your Changes:
Save the modified file.
7. Upload to WeWeb:
Upload the updated SVG to WeWeb. It should now correctly show the color you set in the styles section.
This process removes the extra hidden settings and puts the color directly on the icon, ensuring WeWeb recognizes it.