Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
SahrudayaB
SahrudayaBAccepted solution
Level 2
December 13, 2021

swapping text and image side by side in single component.

 

 

6 replies

SahrudayaB
SahrudayaBAuthorAccepted solution
Level 2
December 13, 2021

swapping text and image side by side in single component.

 

 

Translate
Kiran_Vedantam
Community Advisor
Community Advisor
December 13, 2021

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.

Translate
SahrudayaB
Level 2
December 13, 2021

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.

Translate
Pavan_Kalyan-1
Level 3
December 13, 2021

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.

 

Translate
SahrudayaB
Level 2
December 15, 2021

yes

Translate