Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

swapping text and image side by side using aem

Avatar

Level 3
 
1 Accepted Solution

Avatar

Correct answer by
Level 3

swapping text and image side by side in single component.

Capture.PNG

View solution in original post

6 Replies

Avatar

Correct answer by
Level 3

swapping text and image side by side in single component.

Capture.PNG

Avatar

Level 3

can I put image and text side by side in one component by choosing the alignment of text (either left  or right of image) in dialog box. Based on the input chosen in the dialog box, can I change the position of text and image.

Avatar

Level 4

hello @SahrudayaB 

do you need the code for the above mentioned component.??

this is a teaser component with two css classed with extension (.less).

we then add the classes to the component by editing it in the page template.

just le me know what help do you need.

 

Avatar

Level 3

can I put image and text side by side in one component by choosing the alignment of text (either left  or right of image) in dialog box. Based on the input chosen in the dialog box, can I change the position of text and image.