Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Migrating from Bootstrap Grid to the AEM Grid system

Avatar

Level 2

I recently joined an AEM project that uses Bootstrap Grid for the site layout. Custom components have been developed to control/author nearly every aspect of the bootstrap grid elements. Authors can place a container on the page, rows in that container, and columns in those rows. It is a mess of nested parsys’s. Authors can then configure various dialog options such as a column grid size for each viewport. I personally feel this is giving authors too much control over the design and is likely not a good practice.

This project began years ago so it is not using any modern AEM features such as the AEM Grid and layout system. They are still using static page templates and I am trying to introduce the authors to editable templates, style system, and layout mode. My biggest challenge is understanding how the bootstrap grid system fits into all of this. I’m coming to the conclusion that it simply doesn’t work and that you have to use AEM’s grid system if you want to make use of layout mode.

Should I scrap their bootstrap grid “super” components and push for implementing designs with AEM grid? Their design team creates page prototypes using BS grid, so currently it is easy for us to take their CSS and dump it into AEM since the BS markup is already in the components. Moving to AEM grid would create extra work for the developers to take the design team’s bootstrap prototypes and convert it to AEM grid. Has anyone dealt with a similar scenario and how did you handle it?

1 Accepted Solution

Avatar

Correct answer by
Level 10

YEs - the BOOTStrap grid was used mianly before the AEM Responsive grid was built out. Now that we have the AEM Responsive Grid - no need to build the manual BOOTSTRAP grid - both really do the same. The AEM one is nicer in that you can move it using a mouse to get the exact layout that you want.

Its best practice to start working with Editable Templates, the AEM Responsive Grid and all the new AEM tooling, Build your projects as shown here:

Getting Started with AEM Sites - WKND Tutorial

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

YEs - the BOOTStrap grid was used mianly before the AEM Responsive grid was built out. Now that we have the AEM Responsive Grid - no need to build the manual BOOTSTRAP grid - both really do the same. The AEM one is nicer in that you can move it using a mouse to get the exact layout that you want.

Its best practice to start working with Editable Templates, the AEM Responsive Grid and all the new AEM tooling, Build your projects as shown here:

Getting Started with AEM Sites - WKND Tutorial