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

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

2 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.