Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

Add Configuration Option to render the Right Column before the Content #61

Open
stevepridemore opened this issue Jun 3, 2014 · 3 comments

Comments

@stevepridemore
Copy link

Can a configuration option be added to allow the right column to be rendered before the content and floated right? This would allow for the right column to display before the main content on mobile devices.

@sbobb
Copy link

sbobb commented Aug 7, 2014

@markleusink
Copy link
Contributor

They can, but that would have to be implemented in the render classes of the application layout in the plugin. It would also mean adding configuration options to that control to specify what ordering you would want. I would then also include options to set the size of the (left, center, right) columns.

Until that's implemented you need to create your own layout. Here's a sample using those pull/push classes:

<div class="container">

    <div class="row">

        <div class="col-sm-3" style="background:#eeeeee">

            left on larger screens, 1st on mobile

        </div>

        <div class="col-sm-3 col-sm-push-6"  style="background:#aaaaaa">

            right on larger screens, 2nd row on mobile

        </div>

        <div class="col-sm-6 col-sm-pull-3" style="background:#cccccc">

            center on larger screens, 3rd row on mobile

        </div>

    </div>

</div>

@stevepridemore
Copy link
Author

Maybe it would be better to just add a size option to for each section. Then you could do a 2-2-8 layout or a 3-8-1 or whatever type of layout you decide.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants