Skip to content

Instantly share code, notes, and snippets.

@Denyerec
Last active August 29, 2015 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Denyerec/9b111bb77b908d120a9c to your computer and use it in GitHub Desktop.
Save Denyerec/9b111bb77b908d120a9c to your computer and use it in GitHub Desktop.
Fixing column widths in BE Flux Grid without "style" attribute.
<flux:grid>
<flux:grid.row>
<flux:grid.column colPos="3" colspan="1" name="Testimonial Block" colspan="1" />
<flux:grid.column colPos="0" colspan="2" rowspan="2" name="Main Content" colspan="2" />
</flux:grid.row>
<flux:grid.row>
<flux:grid.column colPos="1" colspan="1" name="Sidebar Content" colspan="1" />
</flux:grid.row>
</flux:grid>
@bjo3rnf
Copy link

bjo3rnf commented May 30, 2014

        <flux:grid>
            <flux:grid.row>
                <flux:grid.column colPos="3" name="Testimonial Block" colspan="1" />
                <flux:grid.column colPos="0" rowspan="2" name="Main Content" colspan="2" />
            </flux:grid.row>
            <flux:grid.row>
                <flux:grid.column colPos="1" name="Sidebar Content" colspan="1" />
            </flux:grid.row>
        </flux:grid>

@Denyerec
Copy link
Author

Confirmed, black magic with colspans does indeed work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment