Jump to content
You must now use your email address to sign in [click for more info] ×

Recommended Posts

Hi, I've just been experimenting with exporting to SVG and importing the code into HTML so I can restyle with CSS but after trying a few options (not all of them...) it seems every path has a style already set which overrides my CSS style sheet. Is there a way to export without the style tags so I don't have to go through and delete them?

Heres an example of what I mean: its the bold bit that I have to delete for every path.

 

<path d="M1082.76,727.84L1002.6,727.84L1002.6,414.882C1002.6,378.12 1000.31,350.549 995.71,332.178C991.114,313.79 980.222,297.89 963.039,284.44C945.843,270.999 926.018,264.265 903.56,264.265C862.376,264.265 827.905,281.12 800.172,314.815C772.43,348.511 758.564,393.607 758.564,450.107L758.564,727.84L678.414,727.84L678.414,30.9654L758.564,30.9654L758.564,307.161C794.98,234.328 847.06,197.899 914.793,197.899C945.08,197.899 972.051,203.861 995.71,215.774C1019.36,227.686 1037.48,243.345 1050.08,262.745C1062.67,282.145 1071.27,301.286 1075.86,320.174C1080.46,339.061 1082.76,370.645 1082.76,414.882L1082.76,727.84Z" style="fill:black;fill-rule:nonzero;"/>

 

thanks

Gary 

Link to comment
Share on other sites

  • Staff

It's not possible yet, sorry. You could add !important to your CSS to override the SVG's inline styling. I would definitely add a feature request for this though, would be useful to export without the inline CSS.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.