Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

In Illustrator, when I save a file as an SVG, the code includes everything on the artboard, even layers that are not visible. How do I save SVGs which ONLY include visible layers?

share|improve this question
add comment

1 Answer

Not sure if you found the solution yet, but here's what worked for me.

  1. Set the layer to exclude from SVG to a template layer, then hide it.
  2. Save As -> Select SVG
  3. When the dialog comes up, hit the button for show svg code, or hit save.
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.