Hi,
I am having trouble figuring out how to add inline styles to Campaign Generic Components
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @StrawHatM23 ,
You can add these styles item in dialog style system and from there you can get it either through model or properties:
<sly data-sly-resource="${parRight @ resourceType='wcm/components/parsys/', appendPath='/*', decorationTagName='div', cssClassName="${properties.inlineStyle @ context='styleString'}"></sly>
Thanks
Tarun
Hi @StrawHatM23 ,
You can add these styles item in dialog style system and from there you can get it either through model or properties:
<sly data-sly-resource="${parRight @ resourceType='wcm/components/parsys/', appendPath='/*', decorationTagName='div', cssClassName="${properties.inlineStyle @ context='styleString'}"></sly>
Thanks
Tarun
@StrawHatM23 Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.
Views
Replies
Total Likes
Views
Like
Replies
Views
Likes
Replies