I'm using CSS styles to reuse my image files. It works great!
My problem is when I create my style, the image layer I add the css style to also gets exported. So I end up with extra assets in my skins folder.
How can I prevent this?
Do you have the right answer? If you do other users will benefit from your contribution, share your knowledge with the community!
Use a Shape for Layers, Image for Styles
Export Kit will render all your
PSD layers as-is. So this means that if you have an image layer in your layout – it will render as an image.
CSS Styles are dynamic and can apply to any layer. Because you are using CSS Styles with Images, this means that you are also using CSS Images (
CSS Images use a DIV tag).
shapes also use a DIV tag, and
DO NOT render images – you can use a shape rather than an image in your design – and add the image to the CSS style.
Using shapes in your layout will render only the images in the styles, and prevent ”extra image assets” in the skins.
Looking for another answer? View other questions in premium support for guaranteed results.
Share Your Knowledge!
Contribute to the community and help other users to benefit from your answer with experience and knowledge.
Are You An Export Kit Member? Why Register with Export Kit?
New memebers have instant access to the exclusive Free Live Demo and Free Online Training to learn, test and explore what Export Kit can do for your design -
register now! Can I Export for Free?
No, exports require an active subscription before use.
Your information is safe with us, read our
login now to skip this step.
You will receive a link to download the content in your email inbox. Your information is safe with us, read our
Enhance your PSD, AI or INDD creative experience with Export Kit's powerful Lightning Storm plugin. Download the latest version now and start
banking your time today! From Design to Interactive in Minutes
Select a tutorial to start your first export now.