Skip to main content
Level 4
March 21, 2023
Resuelto

bootstrap client library issues in container grid in AEM author instance

Hi Team,

 

using AEM as a cloud service , where we have added bootstrap library in page policy . now its conflicting container grid  due to this we have left and right margin getting added on the page

how we can resolve this ?

 

 

adding custom style from container policy and apply full width property to custom class?

 

 

Este tema ha sido cerrado para respuestas.
B_Sravan
B_SravanRespuesta
Community Advisor
March 21, 2023

Hi @sonuk85184451 ,


This is expected as the bootstrap load margin-related style at the page level. In our projects, we usually add a margin:-15px at the root level to remove this. 
As you said, you can alter this behavior with a custom class.
Thank you.

Regards,

Sravan

2 respuestas

B_Sravan
Community Advisor
B_SravanCommunity AdvisorRespuesta
Community Advisor
March 21, 2023

Hi @sonuk85184451 ,


This is expected as the bootstrap load margin-related style at the page level. In our projects, we usually add a margin:-15px at the root level to remove this. 
As you said, you can alter this behavior with a custom class.
Thank you.

Regards,

Sravan

Traducir
May 2, 2024

Hey, I'm currently in the same situation. I'm new to aem development. Could you explain to me how you fix it?

Traducir