Can I create custom ul, li, section, header and footer in HTML?« Back to Questions List

YES

You can use our new Class Tag (tutorial pending).

Class Tag (folders only): ${ class |type :arg }
Eg. ${class|ul:class="menu" role="nav"}
- creates: <ul class="menu" role="nav" />

The new Class tag allows you to add dynami elements to your web output. There is no limit to the number of classes/elements you can add, but you must add these on folders.

|type

The element type will render as the HTML element in your outputs, eg. "section", "header", "table", etc.

:args

The arguments will translate as properties for the element, eg. class="my_class".

Example PSD

Download the plugin sample pack from our downloads page, included inside is a demo of our class tag.

[export kit zip folder] \psd_example_files\05_advanced_layer_tags\ek127_518_class.psd
Added November 17, 2014 8:30 pm

Do you have the right answer? If you do other users will benefit from your contribution, share your knowledge with the community!

1526 views
0 answers
Last Answered 5 years ago by admin

Categories

Recent Answers

asked by zhj
asked by tayfunide
asked by sddesign
asked by zhj
[+] View All Recent Questions

Share Your Knowledge!

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