225-248-0035

Columns Class, Column Class, and Extra Column Class Guide

Image Left and Image Right

This is a guide on how to use the Columns, Column Class, and Extra Column Class fields when creating an Image Left or Image Right field.

The site uses a 12 column grid layout. Use the Bulma Docs for reference.

The Columns Class is added to the parent div of the columns
The Column Class is added to the Content Column
The Extra Column Class is added to the Image column

Note: The Column Class is always added to the content column regardless if the section type is Image Left or Image Right.

Note: The Extra Column Class is always added to the Image column regardless if the section type is Image Left or Image Right.

Note: By default, the columns are stacked on mobile.

 

Default Image Right

This is what an image-right section looks like when the Columns Class and Column Class fields are left blank.

By default the following classes are added if the following fields are left blank.

Columns Class: is-variable is-8
Column Class: is-one-half
Extra Column Class: if left blank the width of this column will automatically fill the rest of the container width

Slightly Wider than 50%

This is what an image-right section looks like when the Column Class field is set to "is-7".

is-7 specifies the content column should take up 7 of the 12 grid columns.

Slightly Narrower than 50%

This is what an image-right section looks like when the Column Class field is set to "is-5".

is-5 specifies the content column should take up 5 of the 12 grid columns.

Centered Columns

This is what an image-right section looks like when:

  • Columns Class field is set to "is-centered"
  • Column Class field is set to "is-5"
  • Extra Column Class is set to "is-5".


Notice that 5 + 5 = 10 which is less than 12 so the content will not span the entire width of the container.

Responsive Columns

You may want the column widths to change based on the screen size.

Content area a little wider on tablet than desktop

This is what an image-right section looks like when:

  • Columns class is left blank
  • Column Class field is set to "is-8-tablet is-6-desktop"
  • Extra Column Class is left blank.


Notice that since the Extra Column Class is left blank its width will be applied automatically.

Content area a little narrower on tablet than desktop

This is what an image-right section looks like when:

  • Columns class is left blank
  • Column Class field is set to "is-5-tablet is-6-desktop"
  • Extra Column Class is left blank.


Notice that since the Extra Column Class is left blank its width will be applied automatically.

Stacked columns on tablet

By default, columns are stacked on mobile and then implemented on tablet screen sizes (above 678px).

This is what an image-right section looks like when:

  • Columns class is set to "is-multiline is-variable is-6"
  • Column Class field is set to "is-12-tablet is-7-desktop"
  • Extra Column Class is set to "is-12-tablet is-5-desktop"


Notice that the Columns class is explicitly set to multiline so that the columns can be stacked. Otherwise the columns ould extend horizontally even though they are wider than the 12 column grid container.

Notice that you must also add the "is-variable is-6" classes to set the gutter width to increase the space between the content and image columns.

https://bulma.io/documentation/columns/gap/#variable-gap

Stacked columns on tablet and centered

Sometimes you want to center columns when stacking them on tablet so you can set the width of the image column to less than the full width of the container

This is what an image-right section looks like when:

  • Columns class is set to "is-multiline is-variable is-6 is-centered"
  • Column Class field is set to "is-12-tablet is-7-desktop"
  • Extra Column Class is set to "is-8-tablet is-5-desktop"

Mobile Column Example

Implement columns on mobile screen sizes

Columns Class is set to "is-mobile is-variable is-6"
Container Width is set to "is-narrow"

Container Width Examples

Various examples of using the Container Width field.

Narrow Example

This is an example of when you want the image to be smaller with a shorter blurb, such as a logo.

  • Column Class field is set to "is-7"
  • Container Width field is set to "is-narrow"

Small Container Example

This is an example of when you want the image to be a little smaller with a slightly shorter blurb.

  • Column Class field is set to "is-7"
  • Container Width field is set to "is-small"

Wide Container Example

This is an example of when you want the image to be larger. Sometimes the client will complain the images are too small in which case you can set the container to wide.

  • Column Class and Extra Column Class fields are left blank
  • Container Width field is set to "is-wide"

Wide container example with larger content area

This is an example of when you want the image to be larger and you have more text content.

  • Columns Class is left blank
  • Column Class is set to "is-7"
  • Extra Column Class is left blank
  • Container Width field is set to "is-wide"