Editable Template | Community
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.

2 replies

aanchal-sikka
Community Advisor
Community Advisor
November 9, 2023

@jakecham 

 

Are you looking to disabled Layout menu, to stop authors from resizing?

Need some help to understand the requirement.

Aanchal Sikka
JakeCham
JakeChamAuthor
Level 6
November 9, 2023

Hi @aanchal-sikka 

Layout container gives some additional elements which are hard to handle with UI. So Is there any way we can get rid of it  ?

JakeCham
JakeChamAuthor
Level 6
November 9, 2023

@jakecham 

 

We can disable Layout Option to stop authors from resizing containers.

 

But, we cannot remove Layout containers and we cannot remove their elements. Its thats what you meant by disabling. In case you meant something else, please elaborate


Hi @aanchal-sikka 

 

Thanks a lot for detailed info. Really Appreciate.

 

Yes I wanted to know how to disable Layout container.

 

Thanks 

EstebanBustamante
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
November 9, 2023

You just need to use the 'container' component, which is the recommended one (this inherits from the layout component). Usually, you should have your own container component extended from the core component. Then you can simply select the 'Simple' option from the layout options. Doing this at the template level will do the trick.

 

Learn more about the container component here: https://experienceleague.adobe.com/docs/experience-manager-core-components/using/wcm-components/container.html?lang=en 

 

Hope this helps

Esteban Bustamante