Expandir minha barra de realizações na Comunidade.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

Esta conversa foi bloqueada devido à inatividade. Crie uma nova publicação.

SOLUCIONADO

swapping text and image side by side using aem

Avatar

Level 3
 
1 Solução aceita

Avatar

Resposta correta de
Level 3

swapping text and image side by side in single component.

Capture.PNG

Ver solução na publicação original

6 Respostas

Avatar

Resposta correta de
Level 3

swapping text and image side by side in single component.

Capture.PNG

Avatar

Community Advisor

Hi @SahrudayaB 

 

Use below core components to achieve the use case

 

  1. Text component: https://www.aemcomponents.dev/content/core-components-examples/library/page-authoring/text.html
  2. Image component: https://www.aemcomponents.dev/content/core-components-examples/library/page-authoring/image.html

Hope this helps!

 

Thanks,

Kiran Vedantam.

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

yes

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.