Handling responsive design when using custom column control component | Community
Skip to main content
Level 3
October 16, 2015
Solved

Handling responsive design when using custom column control component

  • October 16, 2015
  • 1 reply
  • 791 views

Hi All,

Version : CQ5.6.1

In order to reduce the number of templates and allow teh authors some flexibility when creating teh pages we are planning to use a custom column control component(as suggested on some best practices forums). We following the guide

Steps to create a custom Column Control component:

  • Create a new component named, “Page Division – Column Control”
  • Add a drop-down to your dialog with the various combinations of page divisions

column-control-1

  • Add a DIV for each column represented by each selection in your component JSP
  • Add a Paragraph System to each DIV in the component code to allow nesting.
<div class=”col-33″>
        <cq:include path=”right-par” resourceType=”foundation/components/parsys” />
</div>
  • Add a style class for each entry in the drop-down in your CSS

 

I have some concerns with this aproach especially around responsivness. Will this aproach work with a responsive framework such as bootstrap?

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 gopalKa

It will work as long has you have the media queries for each ui size and corresponding values for the same classes. Also,please look at http://adobe-consulting-services.github.io/acs-aem-commons/features/responsive-column-control.html for a more configurable column control. In the next AEM release, there is a far better grid component which will handle your use case.

1 reply

gopalKaAdobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

It will work as long has you have the media queries for each ui size and corresponding values for the same classes. Also,please look at http://adobe-consulting-services.github.io/acs-aem-commons/features/responsive-column-control.html for a more configurable column control. In the next AEM release, there is a far better grid component which will handle your use case.