Columns

Overview and Settings

What are columns?

Usually, a web page consists of many content elements like blocks of text, images, etc. Columns help you place the content elements on a web page in such a way that they visually relate to each other. For example: A block of text can be placed next to an image which is related to the text description.

In a mobile view where there is not enough space for all the columns to fit in one row. The columns are stacked below each other. The default breakpoints for tablets and mobiles are 989px and 767px respectively.

Column Grid

Columns come in various size, using which one can easily create different types of layouts. An example of the currently available columns is shown in the image below.  Example of columns.

Column Settings

Column settings let you play with the Height, Space between the columns, Margins, Paddings, Border, Background Color, Animation and Responsive options.

Column Backgrounds

Columns can have a background color, gradient or a background image. Each column background is independent of the other columns so you can easily set a different background color or image to each column. Column backgrounds can be set from the “Color tab” available in the edit option of the column.

In the example below notice that 3 columns have a color, gradient and an image background set.

Background Color

The screwed journal breezes. A bookshop swears near the graduate. The whoop sweeps past the key! The algorithm barks past the bridge.

Background Gradient

The unhelpful communist convicts an empirical fairy. A modified laser finishes beside an image. A memory pants near the foreigner.

Background Image

The attempt crawls opposite they will a cabinet rail behind the clarifying custom? The taste invalidates the pursuing creator after a peripheral.

In case you have many columns and would like to target them all at once or like to add a custom style like semi-transparent background color. Please enable custom CSS class name support and give the columns a common class name


and use the CSS below to add your custom styles:

.custom-class {
    background:gold!important;
}

Equal Height Columns

Some designs may require that all of the columns in a row share the same height. The height of all the columns is defined by the content which is longest. Equal height for all the columns in a row can only be set in the “Row Settings” of the first column.

Example of equal height columns:

Column 1

The story begins on a balcony. In a brutal conclusion, the killer murders O’Neill’s grandmother.

A sailor from Providence is delighted when she gets the chance to take part in the final of a baking competition. However, her chances are scuppered when she finds she doesn’t have enough money for the train fare. Distraught at losing a baking competition, the sailor turns to a life of crime.

Column 2

The whoop sweeps past the key! The algorithm barks past the bridge.

Column 3

Your main character is a young woman in her late teens, who can be quite imaginative. The story begins in a prison. A close friend has a terminal illness. It’s a story about a countdown to disaster. Your character needs a good plan in order to survive.

Code Snippets

How to use the snippets?

NOTE: If the code snippets produce a different result on your site, it may be because the settings on your site are different or due to any customization already added to achieve a similar result. Please try removing your customization if any and feel free to change the values in the example codes to suit your design.

Shortcode

Shortcode for all Advanced Layout Elements can be viewed by enabling the debug mode. This lets you view the shortcode for columns or any other elements as and when you drag and drop the elements in the advanced layout builder. Let’s take a look at the shortcodes for the column elements.

Col 1/1

 [av_one_full first min_height='' vertical_alignment='' space='' custom_margin='' margin='0px' padding='0px' border='' border_color='' radius='0px' background_color='' src='' background_position='top
left' background_repeat='no-repeat' animation='' mobile_breaking='' mobile_display='' av_uid='av-17r5yy3']
YOUR CONTENT HERE
[/av_one_full] 

Col 1/2

 [av_one_half first min_height='' vertical_alignment='' space='' custom_margin='' margin='0px' padding='0px' border='' border_color='' radius='0px' background_color='' src='' background_position='top
left' background_repeat='no-repeat' animation='' mobile_breaking='' mobile_display='' av_uid='av-12tfv5n']
YOUR CONTENT HERE
[/av_one_half] 

Col 1/3

 [av_one_third first min_height='' vertical_alignment='' space='' custom_margin='' margin='0px' padding='0px' border='' border_color='' radius='0px' background_color='' src='' background_position='top
left' background_repeat='no-repeat' animation='' mobile_breaking='' mobile_display='' av_uid='av-y5kp57']
YOUR CONTENT HERE
[/av_one_third] 

Col 2/3

 [av_two_third first min_height='' vertical_alignment='' space='' custom_margin='' margin='0px' padding='0px' border='' border_color='' radius='0px' background_color='' src='' background_position='top
left' background_repeat='no-repeat' animation='' mobile_breaking='' mobile_display='' av_uid='av-shd8d7']
YOUR CONTENT HERE
[/av_two_third] 

Col 1/4

 [av_one_fourth first min_height='' vertical_alignment='' space='' custom_margin='' margin='0px' padding='0px' border='' border_color='' radius='0px' background_color='' src='' background_position='top
left' background_repeat='no-repeat' animation='' mobile_breaking='' mobile_display='' av_uid='av-2fjfzf']
YOUR CONTENT HERE
[/av_one_fourth] 

Col 3/4

Col 1/5

 [av_one_fifth first min_height='' vertical_alignment='' space='' custom_margin='' margin='0px' padding='0px' border='' border_color='' radius='0px' background_color='' src='' background_position='top
left' background_repeat='no-repeat' animation='' mobile_breaking='' mobile_display='' av_uid='av-hly84r']
YOUR CONTENT HERE
[/av_one_fifth] 

Col 2/5

 [av_two_fifth first min_height='' vertical_alignment='' space='' custom_margin='' margin='0px' padding='0px' border='' border_color='' radius='0px' background_color='' src='' background_position='top
left' background_repeat='no-repeat' animation='' mobile_breaking='' mobile_display='' av_uid='av-clflij']
YOUR CONTENT HERE
[/av_two_fifth] 

Col 3/5

 [av_three_fifth first min_height='' vertical_alignment='' space='' custom_margin='' margin='0px' padding='0px' border='' border_color='' radius='0px' background_color='' src='' background_position='top
left' background_repeat='no-repeat' animation='' mobile_breaking='' mobile_display='' av_uid='av-7xasa3']
YOUR CONTENT HERE
[/av_three_fifth] 

Col 4/5

 [av_four_fifth first min_height='' vertical_alignment='' space='' custom_margin='' margin='0px' padding='0px' border='' border_color='' radius='0px' background_color='' src='' background_position='top
left' background_repeat='no-repeat' animation='' mobile_breaking='' mobile_display='' av_uid='av-2bnhej']
YOUR
CONTENT HERE
[/av_four_fifth] 

Customization

Columns with negative margin

Now let’s explore more possibilities with columns. You might have already noticed the custom margin options in the first column edit options of each row where you can enter the custom value.


By entering a negative margin value it is possible to overlap columns and create interesting layouts and designs. In the below example notice the blue box with icons overlaps the image.

Hide Content in mobile view

Ever wanted to hide some content in mobile view? Enfold makes it super easy by bringing in the screen options. Now you can easily hide columns on mobile devices.

Change content order in mobile view

Ever wanted to change the order in which your content appears on the mobile device? Let us assume on the desktop the content order is 1/4, 1/2 and 1/4 columns and you like the content to appear on mobile in the order 1/2, 1/4, and 1/4 column.

Method 1: Using Color Sections and Screen Options

Use two color sections one for the mobile view and the other for a desktop view. Rearrange the columns as per your design in the mobile view section.

Lastly, hide the desktop version on mobile and hide the mobile version on the desktop from screen option.

Or simply copy the below shortcode and paste it in your page. We have set up the options for you already 🙂

Code Snippet:

Shortcode

[av_section min_height='' min_height_px='500px' padding='default' shadow='no-border-styling' bottom_border='no-border-styling' bottom_border_diagonal_color='#333333' bottom_border_diagonal_direction='' bottom_border_style='' custom_arrow_bg='' id='1 Visible in Desktop only' color='main_color' background='bg_color' custom_bg='' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' attach='scroll' position='top left' repeat='no-repeat' video='' video_ratio='16:9' overlay_opacity='0.5' overlay_color='' overlay_pattern='' overlay_custom_pattern='' av-small-hide='aviaTBav-small-hide' av-mini-hide='aviaTBav-mini-hide' av_element_hidden_in_editor='0' av_uid='av-ji3oktda' custom_class='']

[av_heading heading='This section is visible in desktop only' tag='h3' style='blockquote modern-quote modern-centered' size='' subheading_active='' subheading_size='15' margin='' margin_sync='true' padding='10' color='' custom_font='' av-medium-font-size-title='' av-small-font-size-title='' av-mini-font-size-title='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' av_uid='av-ji3qt0cu' custom_class='' admin_preview_bg=''][/av_heading]

[av_one_fourth first min_height='' vertical_alignment='av-align-top' space='' margin='0px' margin_sync='true' link='' linktarget='' link_hover='' padding='0px' padding_sync='true' border='' border_color='' radius='0px' radius_sync='true' background='bg_color' background_color='#eeee22' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' animation='' mobile_breaking='' mobile_display='' av_uid='av-ji3oj42v']

[av_textblock size='' font_color='' color='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' av_uid='av-ji3og8i7' admin_preview_bg='']
This is a 1/4 column
[/av_textblock]

[/av_one_fourth][av_one_half min_height='' vertical_alignment='av-align-top' space='' margin='0px' margin_sync='true' link='' linktarget='' link_hover='' padding='0px' padding_sync='true' border='' border_color='' radius='0px' radius_sync='true' background='bg_color' background_color='#83a846' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' animation='' mobile_breaking='' mobile_display='' av_uid='av-ji3ojb1k']

[av_textblock size='' font_color='' color='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' av_uid='av-ji3ogeop' admin_preview_bg='']
This is a 1/2 column
[/av_textblock]

[/av_one_half][av_one_fourth min_height='' vertical_alignment='av-align-top' space='' margin='0px' margin_sync='true' link='' linktarget='' link_hover='' padding='0px' padding_sync='true' border='' border_color='' radius='0px' radius_sync='true' background='bg_color' background_color='#edae44' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' animation='' mobile_breaking='' mobile_display='' av_uid='av-ji3oji7m']

[av_textblock size='' font_color='' color='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' av_uid='av-ji3ogkzb' admin_preview_bg='']
This is a 1/4 column
[/av_textblock]

[/av_one_fourth][/av_section][av_section min_height='' min_height_px='500px' padding='default' shadow='no-border-styling' bottom_border='no-border-styling' bottom_border_diagonal_color='#333333' bottom_border_diagonal_direction='' bottom_border_style='' custom_arrow_bg='' id='2 Visible in Mobile only' color='main_color' background='bg_color' custom_bg='' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' attach='scroll' position='top left' repeat='no-repeat' video='' video_ratio='16:9' overlay_opacity='0.5' overlay_color='' overlay_pattern='' overlay_custom_pattern='' av-desktop-hide='aviaTBav-desktop-hide' av-medium-hide='aviaTBav-medium-hide' av_element_hidden_in_editor='0' av_uid='av-ji3okzvq' custom_class='']

[av_heading heading='This section is visible in mobile only and columns can be rearranged to suit your design.' tag='h3' style='blockquote modern-quote modern-centered' size='' subheading_active='' subheading_size='15' margin='' margin_sync='true' padding='10' color='' custom_font='' av-medium-font-size-title='' av-small-font-size-title='' av-mini-font-size-title='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' av_uid='av-ji3qsplo' custom_class='' admin_preview_bg=''][/av_heading]

[av_one_fourth first min_height='' vertical_alignment='av-align-top' space='' margin='0px' margin_sync='true' link='' linktarget='' link_hover='' padding='0px' padding_sync='true' border='' border_color='' radius='0px' radius_sync='true' background='bg_color' background_color='#eeee22' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' animation='' mobile_breaking='' mobile_display='' av_uid='av-ji3oju7i']

[av_textblock size='' font_color='' color='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' av_uid='av-ji3og8i7' admin_preview_bg='']
This is a 1/4 column
[/av_textblock]

[/av_one_fourth][av_one_fourth min_height='' vertical_alignment='av-align-top' space='' margin='0px' margin_sync='true' link='' linktarget='' link_hover='' padding='0px' padding_sync='true' border='' border_color='' radius='0px' radius_sync='true' background='bg_color' background_color='#edae44' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' animation='' mobile_breaking='' mobile_display='' av_uid='av-ji3okf0x']

[av_textblock size='' font_color='' color='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' av_uid='av-ji3ogkzb' admin_preview_bg='']
This is a 1/4 column
[/av_textblock]

[/av_one_fourth][av_one_half min_height='' vertical_alignment='av-align-top' space='' margin='0px' margin_sync='true' link='' linktarget='' link_hover='' padding='0px' padding_sync='true' border='' border_color='' radius='0px' radius_sync='true' background='bg_color' background_color='#83a846' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' animation='' mobile_breaking='' mobile_display='' av_uid='av-ji3oklpn']

[av_textblock size='' font_color='' color='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' av_uid='av-ji3ogeop' admin_preview_bg='']
This is a 1/2 column
[/av_textblock]

[/av_one_half][/av_section]

Method 2: using custom CSS.

  1. First, enable Custom CSS class name support.
  2. Create your desktop view with all the columns in place.
  3. Make an extra copy of column-1 and place it after column-2
  4. Hide the extra copy of column-1 in desktop view by using the CSS class name “mobile-only”.
  5. Hide column-1 that appears before column-2 in mobile by using the custom CSS class name “desktop-only”.
  6. Finally, to toggle the columns view and re-arrange content in mobile device lets use some custom CSS in Enfold > General Styling > Quick CSS or in your child theme styles:

Code Snippet:

CSS

/*----------------------------------------
// CSS
// Toggle view
//--------------------------------------*/

/* Desktop */

.mobile-only{
display: none;
}
.desktop-only{
display: block;
}
/* Mobile */
@media only screen and (max-width: 767px) {
.mobile-only{
display: block!important;
}
.desktop-only{
display: none!important;
}}

Toggle 4 columns in big screen to 2 columns in mobile

By default on the mobile view, each column is stacked on top of another, 1 column per row. In some cases, you may want to display 2 columns per row in mobile and 4 columns on a desktop. To do so please follow the below steps:


1. Enable custom CSS class name support for ALB elements.

2. Add four 1/4 columns and give it a class name “col-25p”.

3. Add the below CSS to your site.

Code Snippet:

CSS

/*----------------------------------------
// CSS
// Toggle Columns
//--------------------------------------*/
@media only screen and (max-width:767px) {
.col-25p {
width:49%!important;
background:gold;
}
.col-25p.av_one_fourth{
margin-left:1%!important;
}}

Center align two or more columns

By default, columns are aligned to the left. To center align two or more columns inside a color section, drag and drop the columns inside a color section as shown below and give the color section a custom ID call it “av-center-align-columns” and add the below CSS to your site.


Example of center aligned columns.

Code Snippet:

Shortcode

[av_section min_height='100' min_height_px='500px' padding='default' shadow='no-border-styling' bottom_border='no-border-styling' bottom_border_diagonal_color='#333333' bottom_border_diagonal_direction='' bottom_border_style='' custom_arrow_bg='' id='av-center-align-columns' color='main_color' background='bg_gradient' custom_bg='' background_gradient_color1='#00a8c5' background_gradient_color2='#ffff7e' background_gradient_direction='diagonal_bt' src='' attachment='' attachment_size='' attach='scroll' position='center center' repeat='repeat' video='' video_ratio='16:9' overlay_opacity='0.5' overlay_color='' overlay_pattern='' overlay_custom_pattern='' av_element_hidden_in_editor='0' av_uid='av-jgp96b7u' custom_class='']
[av_textblock size='' font_color='' color='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' av_uid='av-jgp9gd8s' custom_class='' admin_preview_bg='']
<h2 style="text-align: center;">Centre aligned columns:</h2>
[/av_textblock]

[av_hr class='invisible' height='0' shadow='no-shadow' position='center' custom_border='av-border-thin' custom_width='50px' custom_border_color='' custom_margin_top='30px' custom_margin_bottom='30px' icon_select='yes' custom_icon_color='' icon='ue808' font='entypo-fontello' av_uid='av-2jgz2f' custom_class='' admin_preview_bg='']

[av_one_fourth first min_height='' vertical_alignment='av-align-top' space='no_margin' margin='0px' margin_sync='true' link='' linktarget='' link_hover='' padding='60px' padding_sync='true' border='' border_color='' radius='0px' radius_sync='true' background='bg_color' background_color='#00aeff' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' animation='' mobile_breaking='' mobile_display='' av_uid='av-82kbrb' custom_class='']

[av_textblock size='' font_color='' color='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' av_uid='av-nccbb' custom_class='' admin_preview_bg='']
<strong>1/4 Column</strong>
[/av_textblock]

[/av_one_fourth][av_one_fourth min_height='' vertical_alignment='av-align-top' space='' margin='0px' margin_sync='true' link='' linktarget='' link_hover='' padding='60px' padding_sync='true' border='' border_color='' radius='0px' radius_sync='true' background='bg_color' background_color='#3369e7' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' animation='' mobile_breaking='' mobile_display='' av_uid='av-4r4cdj' custom_class='']

[av_textblock size='' font_color='' color='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' av_uid='av-nccbb' custom_class='' admin_preview_bg='']
<strong>1/4 Column</strong>
[/av_textblock]

[/av_one_fourth][av_hr class='invisible' height='60' shadow='no-shadow' position='center' custom_border='av-border-thin' custom_width='50px' custom_border_color='' custom_margin_top='30px' custom_margin_bottom='30px' icon_select='yes' custom_icon_color='' icon='ue808' font='entypo-fontello' av_uid='av-2jgz2f' custom_class='' admin_preview_bg='']

[av_one_fifth first min_height='' vertical_alignment='av-align-top' space='no_margin' margin='0px' margin_sync='true' link='' linktarget='' link_hover='' padding='60px' padding_sync='true' border='' border_color='' radius='0px' radius_sync='true' background='bg_color' background_color='#00aeff' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' animation='' mobile_breaking='' mobile_display='' av_uid='av-82kbrb' custom_class='']

[av_textblock size='' font_color='' color='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' av_uid='av-nccbb' custom_class='' admin_preview_bg='']
<strong>1/5 Column</strong>
[/av_textblock]

[/av_one_fifth][av_one_fifth min_height='' vertical_alignment='av-align-top' space='' margin='0px' margin_sync='true' link='' linktarget='' link_hover='' padding='60px' padding_sync='true' border='' border_color='' radius='0px' radius_sync='true' background='bg_color' background_color='#3369e7' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' animation='' mobile_breaking='' mobile_display='' av_uid='av-82kbrb' custom_class='']

[av_textblock size='' font_color='' color='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' av_uid='av-nccbb' custom_class='' admin_preview_bg='']
<strong>1/5 Column</strong>
[/av_textblock]

[/av_one_fifth][av_one_fifth min_height='' vertical_alignment='av-align-top' space='' margin='0px' margin_sync='true' link='' linktarget='' link_hover='' padding='60px' padding_sync='true' border='' border_color='' radius='0px' radius_sync='true' background='bg_color' background_color='#00aeff' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' animation='' mobile_breaking='' mobile_display='' av_uid='av-82kbrb' custom_class='']

[av_textblock size='' font_color='' color='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' av_uid='av-nccbb' custom_class='' admin_preview_bg='']
<strong>1/5 Column</strong>
[/av_textblock]

[/av_one_fifth]
[/av_section]

CSS

/* Center align columns inside color section*/
#av-center-align-columns .entry-content-wrapper {
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-flow: row wrap;
justify-content: center;
}

Six Columns or more

To create more than 5 columns please follow the below steps:

  1. Add a color section with custom ID “av-extra-columns”.
  2. Add six or more columns inside the color section.
  3. Add the below CSS in Quick CSS or child theme styles.

NOTE: This is a flex-box based alignment and the number of columns will automatically change depending on the column content and width of the browser. To add more than 6 columns adjust the width and the margin values in the below CSS code snippet.

Example of more than 5 columns in a row.

Code Snippet:

Shortcode

[av_section min_height='100' min_height_px='500px' padding='default' shadow='no-shadow' bottom_border='no-border-styling' bottom_border_diagonal_color='#333333' bottom_border_diagonal_direction='' bottom_border_style='' custom_arrow_bg='' id='av-extra-columns' color='main_color' background='bg_gradient' custom_bg='' background_gradient_color1='#312a6c' background_gradient_color2='#8e78ff' background_gradient_direction='diagonal_bt' src='' attachment='' attachment_size='' attach='scroll' position='top left' repeat='no-repeat' video='' video_ratio='16:9' overlay_opacity='0.5' overlay_color='' overlay_pattern='' overlay_custom_pattern='' av_element_hidden_in_editor='0' av_uid='av-1crc5j' custom_class='']

[av_textblock size='' font_color='custom' color='#ffffff' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' av_uid='av-jgpfob20' custom_class='' admin_preview_bg='']
<h2 style="text-align: center;">Example of more than 6 columns in a row</h2>
[/av_textblock]

[av_hr class='invisible' height='50' shadow='no-shadow' position='center' custom_border='av-border-thin' custom_width='50px' custom_border_color='' custom_margin_top='30px' custom_margin_bottom='30px' icon_select='yes' custom_icon_color='' icon='ue808' font='entypo-fontello' av_uid='av-jgpfojd0' custom_class='' admin_preview_bg='']

[av_one_fourth first min_height='' vertical_alignment='av-align-top' space='' margin='0px' margin_sync='true' link='' linktarget='' link_hover='' padding='0px' padding_sync='true' border='' border_color='' radius='0px' radius_sync='true' background='bg_color' background_color='#00aeff' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' animation='' mobile_breaking='' mobile_display='' av_uid='av-cwa6o7' custom_class='']

[av_textblock size='' font_color='' color='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' av_uid='av-jgpcn493' custom_class='' admin_preview_bg='']
<p style="text-align: center;"><strong>Column</strong></p>

[/av_textblock]

[/av_one_fourth][av_one_fourth min_height='' vertical_alignment='av-align-top' space='' margin='0px' margin_sync='true' link='' linktarget='' link_hover='' padding='0px' padding_sync='true' border='' border_color='' radius='0px' radius_sync='true' background='bg_color' background_color='#3369e7' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' animation='' mobile_breaking='' mobile_display='' av_uid='av-ab0mrb' custom_class='']

[av_textblock size='' font_color='' color='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' av_uid='av-jgpcn493' custom_class='' admin_preview_bg='']
<p style="text-align: center;"><strong>Column</strong></p>

[/av_textblock]

[/av_one_fourth][av_one_fourth min_height='' vertical_alignment='av-align-top' space='' margin='0px' margin_sync='true' link='' linktarget='' link_hover='' padding='0px' padding_sync='true' border='' border_color='' radius='0px' radius_sync='true' background='bg_color' background_color='#8e43e7' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' animation='' mobile_breaking='' mobile_display='' av_uid='av-9pfgd3' custom_class='']

[av_textblock size='' font_color='' color='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' av_uid='av-jgpcn493' custom_class='' admin_preview_bg='']
<p style="text-align: center;"><strong>Column</strong></p>

[/av_textblock]

[/av_one_fourth][av_one_fourth min_height='' vertical_alignment='av-align-top' space='' margin='0px' margin_sync='true' link='' linktarget='' link_hover='' padding='0px' padding_sync='true' border='' border_color='' radius='0px' radius_sync='true' background='bg_color' background_color='#b84592' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' animation='' mobile_breaking='' mobile_display='' av_uid='av-tdoev' custom_class='']

[av_textblock size='' font_color='' color='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' av_uid='av-jgpcn493' custom_class='' admin_preview_bg='']
<p style="text-align: center;"><strong>Column</strong></p>

[/av_textblock]

[/av_one_fourth][av_one_fourth first min_height='' vertical_alignment='av-align-top' space='' margin='0px' margin_sync='true' link='' linktarget='' link_hover='' padding='0px' padding_sync='true' border='' border_color='' radius='0px' radius_sync='true' background='bg_color' background_color='#ff4f81' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' animation='' mobile_breaking='' mobile_display='' av_uid='av-6gbpdz' custom_class='']

[av_textblock size='' font_color='' color='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' av_uid='av-jgpcn493' custom_class='' admin_preview_bg='']
<p style="text-align: center;"><strong>Column</strong></p>

[/av_textblock]

[/av_one_fourth][av_one_fourth min_height='' vertical_alignment='av-align-top' space='' margin='0px' margin_sync='true' link='' linktarget='' link_hover='' padding='0px' padding_sync='true' border='' border_color='' radius='0px' radius_sync='true' background='bg_color' background_color='#ffc168' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' animation='' mobile_breaking='' mobile_display='' av_uid='av-4busg7' custom_class='']

[av_textblock size='' font_color='' color='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' av_uid='av-jgpcn493' custom_class='' admin_preview_bg='']
<p style="text-align: center;"><strong>Column</strong></p>

[/av_textblock]

[/av_one_fourth][av_one_fourth min_height='' vertical_alignment='av-align-top' space='' margin='0px' margin_sync='true' link='' linktarget='' link_hover='' padding='0px' padding_sync='true' border='' border_color='' radius='0px' radius_sync='true' background='bg_color' background_color='#2dde98' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' animation='' mobile_breaking='' mobile_display='' av_uid='av-2ddxaf' custom_class='']

[av_textblock size='' font_color='' color='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' av_uid='av-jgpcn493' custom_class='' admin_preview_bg='']
<p style="text-align: center;"><strong>Column</strong></p>

[/av_textblock]

[/av_one_fourth][av_one_fourth min_height='' vertical_alignment='av-align-top' space='' margin='0px' margin_sync='true' link='' linktarget='' link_hover='' padding='0px' padding_sync='true' border='' border_color='' radius='0px' radius_sync='true' background='bg_color' background_color='#1cc7d0' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' animation='' mobile_breaking='' mobile_display='' av_uid='av-2ddxaf' custom_class='']

[av_textblock size='' font_color='' color='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' av_uid='av-jgpcn493' custom_class='' admin_preview_bg='']
<p style="text-align: center;"><strong>Column</strong></p>

[/av_textblock]

[/av_one_fourth][/av_section]

CSS

/*----------------------------------------
// Create more than six Columns
//--------------------------------------*/


#av-extra-columns .entry-content-wrapper {
display: flex;
flex-flow: row wrap;
justify-content: center;
}

#av-extra-columns .column-top-margin {
margin-top: 0 !important;
}

#av-extra-columns .flex_column {
width: 14%;
flex-basis: 14%;
margin-left: 2%;
margin-top: 20px!important;
}

#av-extra-columns .flex_column.first {
clear: none!important;
margin-left: 2%;
}

/* Two columns in mobile */


@media only screen and (max-width: 768px) {
#av-extra-columns .flex_column {
margin-bottom: 20px!important;
margin-top: 20px!important;
/* Width of the container */
flex-basis: 40%;
}

#av-extra-columns .flex_column:nth-child(even) {
margin-left: 10%!important;
}
}

Column Spacing

Individual padding for each column can be set from the column settings. This will increase or reduce the space between the content inside the column and the column boundary.

Other than padding you can select columns to have a small space (margin) or no space between the columns. The colum settings also lets you set custom top and bottom margin. The space between two column borders or column margin (left or right) and this can be altered to a specific value using custom CSS.

/*----------------------------------------
// Column margin
//--------------------------------------*/
div .flex_column {
  margin-left: 5px!important;
}

Please note decreasing the margin value will push the columns closer which may cause some extra space on the right side (Mostly noticeable on columns with background color/image). This can be solved by adding custom CSS for each column with a specific width.

Column hover effect

Sometimes it is necessary to draw special attention to users for a particular section of the website by highlighting a column on mouse hover or by changing the background color. To add this hover effect to your site please enable custom CSS class name support and follow the below step by step info:

  1. Add class name “col-hover” to the column.
  2. Add the below CSS in Quick CSS section or child theme styles.

Please feel free to change/add background color and other values to suit your design in the below code.

/*----------------------------------------
// Column Hover
//--------------------------------------*/
.col-hover:hover {
opacity: 0.8;
transition: all .5s ease;
background: gold!important;
}
.col-hover{
transition: all .5s ease;
}

Custom column width

The max width of a single Column or a combination of columns in a row can be same as the container width set in the theme options. To make the columns wider, place the columns inside the color section and follow the instructions provided to stretch the color section content width.

Custom column breakpoint

By default mobile and tablet breakpoints are 767px and 989px. If you like to add a custom breakpoint to the column elements and would like the columns to stack up before the default breakpoints please follow the below steps:

  1. Enable custom CSS class name support from Enfold options > Layout Builder > Show element options for developers
  2. Add a color section and assign it an ID called “custom-breakpoint”.
  3. Add your columns inside the color section and assign a class name called “col” to each of the columns.
  4. Adjust the max-width in the media query in the below code and add it to your site.
     
    /* Custom breakpoint */
    @media only screen and (max-width: 880px) { 
    .responsive #top #wrap_all  #custom-breakpoint .flex_column.col {
        margin: 0;
        margin-bottom: 20px;
        width: 100%;
    }}