I used:
<div data-sly-resource="${'image' @resourceType='foundation/components/image'}"></div>
It has generated "cq-dd-image" class, how to add custom classes to this component?
Solved! Go to Solution.
Views
Replies
Total Likes
Simply overlay the default image component in your project and add the custom class as per your requirment
Views
Replies
Total Likes
Hi, Aleksandrs
I think you are looking for this.
http://stackoverflow.com/questions/26102239/aem-cq-conditional-css-class-on-decoration-tag
Thanks,
Vamsi
Views
Replies
Total Likes
Simply overlay the default image component in your project and add the custom class as per your requirment
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies