Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

AI SVG graphics not dynamic (strokes are not written in code once SVG exported to other systems)

New Here ,
Sep 27, 2023 Sep 27, 2023

Hi guys,

 

So basically i'm on here and hoping someone who knows a fair bit about:

1. SVG files, and making them with AI

2. Web design

 

The issue i'm having is:

When the icon/images I make on AI and exported and uploaded to my website, and then edited using Elementor, I am having the issue that the strokes don't register as a SVG property, but more like a PNG/JPEG where the colour is fixed. I can scale no problem, however I cannot change the colours using the Elementor tools.

 

I know for sure it is the strokes, and filled bodies are dynamic, and do change colour when say - setting a different colour for icons globally. This is annoying the developement stage of my website as I can't adjust and change things easily, I have to manually edit the icons and change the colour, save and reupload everyone and it's driving me insane. 0 workflow.

 

I draw a lot of my images with a drawing pad, so everything comes up as a stroke. I have 0 interest in following a long winded proess to make 2 stroke outlines and filling inbetween, then removing the strokes. I might aswell just download Photoshop as I think the paths tool on PS works fine without this strange stroke issue. I'm tempted to go down this route as it seems more efficient to design and make changes to the icons anyway.

 

Here are the settings I am saving my SVGs as, and yes of course, I have set all the colours to 00000, and the document in RGB mode. Any ideas of how to solve this would be awesome. Potentially this could just be an elementor issue, as I have seen one other person have this issue on youtube. Thanks!

john32570438x18y_0-1695834163869.png

 

TOPICS
Draw and design , How-to
221
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Sep 27, 2023 Sep 27, 2023

I don't know the specifications Elementor sets for the graphics. So I would suggest you take a look at what Elementor expects as source file. And then you open the SVG file in a text editor and change it in the code so it looks like what you need.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 27, 2023 Sep 27, 2023

When changing the 'stroke:#F00000;' to say another colour, the SVG responds as expected on the browser, and does change. So I'm assuming either the way that Elementor changes the source code or the way the AI saves it in such a way that isn't compatible with these online editors, but it's strange that using PS SVG files works fine online. So I think it can't just be an Elementor issue if the SVG created via PS works.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 28, 2023 Sep 28, 2023
LATEST

Hello @john32570438x18y,

 

Hello @john32570438x18y,

 

Sorry to hear about this experience. Would you mind sharing more details, like the exact version of the OS/Illustrator, a sample SVG file from both Illustrator and Photoshop (https://community.adobe.com/t5/illustrator-discussions/share-your-files-in-6-simple-steps/td-p/12967...), and a screen recording of the problem (https://community.adobe.com/t5/illustrator-discussions/screen-record-an-issue-on-windows-amp-macos-f...), so we can investigate this further?

 

Looking forward to hearing from you.

 

Thanks,

Anubhav

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines