Custom class in tag.« Back to Questions List

Every name of layers after export will become tag id. I want to add class name in layer, by that I can modify this class in css, how can i add class tag in psd.

Added August 14, 2016 11:02 am

This question has been resolved, view the correct answer now!

Correct Answer

Hi,

This is very easy, with a group you can still use

${css|style:css_class_name}

or you can also use our class tag for raw HTML elements

${class|div:class="css_class_name"}

.

CSS Style Tag: //exportkit.com/plugin/layer-tags/advanced-layer-tags/css-style-tag

Class Tag: //exportkit.com/plugin/layer-tags/advanced-layer-tags/class-tag

Answer by admin
Answered On August 18, 2016 5:54 pm #

i read all these articles, i want to add my class name into a tag which is a layer or group in Photoshop. If you dont have this option, consider to add it in your next update.

Answered On August 17, 2016 9:28 pm #

Hi,

CSS classes / styles have 2 parts, (1) is your actual style you apply and (2) your global CSS styles you define in your design.

CSS styles (classes):
//exportkit.com/plugin/environments/css/create-custom-css-class-styles-for-html5

CSS rollover / hover:
//exportkit.com/plugin/environments/css/add-css-rollover-hover-effects

Bootstrap:
//exportkit.com/plugin/environments/css/psd-to-bootstrap-3x-css-child-themes

Answer by admin
Answered On August 17, 2016 2:34 am #
Looking for another answer? View other questions in CSS or get premium support for guaranteed results.
Asked by congnguyen★★★
1540 views
3 answers
Last Answered 8 years ago by admin

Categories

Recent Answers

asked by zaineb khiari
asked by nmax
asked by shanrt
[+] View All Recent Questions

Share Your Knowledge!

Contribute to the community and help other users to benefit from your answer with experience and knowledge.