How to avoid auto generated div classes in CQ? | Community
Skip to main content
Level 3
October 16, 2015
Solved

How to avoid auto generated div classes in CQ?

  • October 16, 2015
  • 1 reply
  • 496 views

Hi, I have created component called "union". When I drag that component into my parsys, It automatically generates one div class as 'union section'. I understand that CQ takes that component name and append 'section' string for auto generate div class.
For instance
<div class="union section">..</div>

Here I do not want auto generated div class. Is there any way to avoid or skip those auto-generated class in CQ?

How to avoid auto generated div classes?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by sachin_solution

This is done by help of "cq:noDecoration" property.

1 reply

sachin_solutionAuthorAccepted solution
Level 3
October 16, 2015

This is done by help of "cq:noDecoration" property.