cheshiredesigner Posted July 1, 2015 Share Posted July 1, 2015 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 Quote Please have a look at my graphic design and illustration website and my art and design blog Link to comment Share on other sites More sharing options...
Staff Leigh Posted July 2, 2015 Staff Share Posted July 2, 2015 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. Quote Link to comment Share on other sites More sharing options...
cheshiredesigner Posted July 3, 2015 Author Share Posted July 3, 2015 Hi Leigh Aah!! I always forget about the !important tag!!! thanks for the help (and calling it inline CSS-much more succinct than my long-winded explanation!), I'll put in a feature request. Quote Please have a look at my graphic design and illustration website and my art and design blog Link to comment Share on other sites More sharing options...
Recommended Posts
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.