bootstrap client library issues in container grid in AEM author instance | Community
Skip to main content
Level 4
March 21, 2023
Solved

bootstrap client library issues in container grid in AEM author instance

  • March 21, 2023
  • 2 replies
  • 712 views

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?

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by B_Sravan

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 replies

B_Sravan
Community Advisor
B_SravanCommunity AdvisorAccepted solution
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

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?