Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

How to avoid auto generated div classes in CQ?

Avatar

Level 3

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?

1 Accepted Solution

Avatar

Correct answer by
Level 3

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

View solution in original post

1 Reply

Avatar

Correct answer by
Level 3

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