Enfold Documentation
  • Home
  • Changelog
  • Support
  • Menu Menu
  • Link to X
  • Link to Dribbble

Widget Area

Add a sitewide notification bar! Access widget area to display your information here.

Stacked widget area, logo and menu.

Phone: 601-785-8085

Search Search

Click me Call to Action Click Again
100%

Faster and smarter!

Grid RowAnimated CountdownPortfolio GridAnimated NumbersBlog PostCatalogueCode BlockCommentsContent SliderContact FormFullwidth Sub MenuHeadline RotatorIconIcon BoxIcon ListMasonryMailChimp SignupMagazineAccordion SliderTeam MemberTestimonialsTabsTableSocial Share ButtonsSeparator / WhitespacePromo BoxProgress BarPost SliderVideoPartner/Logo ElementMasonry GalleryImage With HotspotsGoogle MapImageGalleryFullwidth Easy SliderFullscreen SliderNotificationAnimationBreadcrumbsTab SectionsStretched LayoutEnfold showcaseHosting RequirementColor SectionAccordionFeatured Image SliderEasy SliderAdvanced LayersliderColumnsFooterIntro to layout builderPaginationButtonSpecial headingAdd custom CSSAdd Custom JS or PHP ScriptEnfold ChangelogMenuHeaderMega MenuLogooptimizationHooks and FiltersLightboxShopPersonalize themesidebarSearchTranslationTypographyExample of Widget Left, Logo center, Menu rightExample of Widget Left Menu center Logo rightHow to use the custom codeHow to clear the cacheExample of color section overlayFullwidth ButtonButton RowChild ThemeQuick setupTheme RegistrationPage SetupImport DemosInstall enfold themeTheme updateBackup WordPress SiteBackup custom post typesBackup theme settingsInstall WordPress on localhostPrivacy & CookiesGoogle AnalyticsInstagramCustom Element TemplatesOpenStreetMaps - Leaflet MapsAccessibilityIcon CirclesChart ElementCustom Layout & Dynamic ContentDismissible Admin Notice BoxSVG Icon SetsList MenuIcon Flipbox GridLottie AnimationTimeline

Widget one

Widget two

Video Widget background

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.

Row Settings

Since Enfold 8.3, you can style a whole row of columns, not only each column on its own. For example, you can give the row one background, a border, or a shadow around all its columns.

Where: Column > Row Settings

NOTE: These settings apply to all columns in the row. You can only set them in the first column of the row. In the other columns, the tab shows a note instead.

  • Row Background Color: One background color behind all columns of the row. Leave empty for no color.
  • Row Box Shadow: Adds a shadow around the row. Row Box Shadow Animation animates the shadow.
  • Row Border: Adds a border around the row. Once it’s on, Row Border Style (default: solid) and Row Border Color appear. Leave the color empty to use the default.
  • Row Border Radius: Rounds the corners of the row.
  • Custom Margins: Check it to set your own top and bottom margin for the row in Custom Top and Bottom Margin, which is responsive. Otherwise, the theme sets the margin.
  • Row Padding: Responsive inner spacing for the whole row.
  • Fullwidth Break Point: The screen width at which the columns stack to full width.
  • Column Behaviour When Fullwidth: How the columns behave once they’re stacked.

TIP: Use the row border or background when the columns should look like one box. The column’s own Border and Border Radius options still style each column separately.

Code Snippets

How to use the snippets?

  • Add the CSS Snippets to Enfold child theme styles.
  • Add the JS and PHP scripts to your child theme functions.php file.
  • Shortcodes can be used in a text area in pages, posts, sliders and widget areas. Enable debug mode to view the page shortcode.
  • Enable custom CSS class name support to add your class names to the theme elements.
  • Disable script merging and clear the cache to view the changes on the frontend.

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

[av_three_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-6za4b']
YOUR CONTENT HERE
[/av_three_fourth]

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

Since Enfold 4.8.7, you can change the order of the columns on mobile without any customizations.

You can simply edit the first column of the row and go to Row Settings > Row Screen Options > Column Behaviour When Fullwidth and choose the options that works the best for your layout.

If you choose the Individually select position for each column option, do not forget to edit each column and choose their mobile positions in Advanced > Responsive > Mobile Breakpoint Position

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 “eh-center-align-columns” for Equal Height columns and “ih-center-align-columns” for Individual Height 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-25' 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-27' 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-26' custom_class='']

[av_textblock size='' font_color='' color='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' av_uid='av-nccbb-24' 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-23' custom_class='']

[av_textblock size='' font_color='' color='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' av_uid='av-nccbb-22' 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-21' custom_class='']

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

[/av_one_fifth]
[/av_section]

CSS

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

#eh-center-align-columns .av-flex-placeholder {
display: none;
}

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-18' 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-17' 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-16' 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-15' 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-14' 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-13' 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-12' custom_class='']

[av_textblock size='' font_color='' color='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' av_uid='av-jgpcn493-11' 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%;
    }}
    

Adding custom SVG dividers

 
/**
 * Add your custom svg shapes:
 *	- Use default directory:
 *		- create subdirectory in your WP uploads folder:   .../uploads/avia_custom_shapes
 *		- add your files there
 *	- Use a different folder, that can be accessed from php
 *		- create folder
 *		- add your files there
 *		- use filter 'avf_custom_svg_shapes_files_directory' to register path
 *		- alternative you can use 'path' when you register the svg file
 *      - Upload svg file (and a possible negative file) with WP Media Uploader
 *              - use 'attachment' to add ID of svg file
 *              - use 'attachment_negative' to add ID of negative svg file
 *              - using 'attachment' filename and path are ignored
 *	- Register your svg files with filter 'avf_custom_svg_shapes' - make sure to use unique keys that do not conflict with native keys
 * 
 * @param array $custom_shapes
 * @return array
 */
function custom_avf_custom_svg_shapes( array $custom_shapes )
{
	$custom_shapes = array(
				
		'kurve-konvex'	=> array(
						'key'			=> 'kurve-konvex',
						'title'			=> __( 'Convex curves', 'avia_framework' ),
//						'has_flip'		=> true,
						'has_width'		=> true,
						'filename'		=> 'kurve-konvex'
									),
		'waves-in-motion'	=> array(
						'key'			=> 'waves-in-motion',
						'title'			=> __( 'Waves in motion', 'avia_framework' ),
//						'has_flip'		=> true,
						'has_width'		=> true,
						'filename'		=> 'waves-in-motion'
									)
		
						);
	
	return $custom_shapes;
}

add_filter( 'avf_custom_svg_shapes', 'custom_avf_custom_svg_shapes', 10, 1 );

Please note, available in Enfold 4.8.4 and newer versions.

Minimum column height

Where: Layout Builder > Column > Layout > Height > Minimum Column Height

Enter a minimum height in px or %, for example 300px or 50%. A number without a unit is treated as px. Leave the field empty to use the theme default.

A percentage is based on the closest surrounding layout container, for example a Color Section or Grid Row cell, or on the browser window height.

When Equal Height Columns is active in the row settings, the value of the first column in the row is used for all columns.

If you use SVG dividers, allow enough height so the divider does not overlap the content.

Contents

ÂĐ Copyright - Enfold Documentation - Enfold Theme by Kriesi
  • Privacy Policy
  • Legal Information
Scroll to top Scroll to top Scroll to top

This site uses cookies. By continuing to browse the site, you are agreeing to our use of cookies.

OK

Cookie and Privacy Settings



How we use cookies

We may request cookies to be set on your device. We use cookies to let us know when you visit our websites, how you interact with us, to enrich your user experience, and to customize your relationship with our website.

Click on the different category headings to find out more. You can also change some of your preferences. Note that blocking some types of cookies may impact your experience on our websites and the services we are able to offer.

Essential Website Cookies

These cookies are strictly necessary to provide you with services available through our website and to use some of its features.

Because these cookies are strictly necessary to deliver the website, refusing them will have impact how our site functions. You always can block or delete cookies by changing your browser settings and force blocking all cookies on this website. But this will always prompt you to accept/refuse cookies when revisiting our site.

We fully respect if you want to refuse cookies but to avoid asking you again and again kindly allow us to store a cookie for that. You are free to opt out any time or opt in for other cookies to get a better experience. If you refuse cookies we will remove all set cookies in our domain.

We provide you with a list of stored cookies on your computer in our domain so you can check what we stored. Due to security reasons we are not able to show or modify cookies from other domains. You can check these in your browser security settings.

Google Analytics Cookies

These cookies collect information that is used either in aggregate form to help us understand how our website is being used or how effective our marketing campaigns are, or to help us customize our website and application for you in order to enhance your experience.

If you do not want that we track your visit to our site you can disable tracking in your browser here:

Other external services

We also use different external services like Google Webfonts, Google Maps, and external Video providers. Since these providers may collect personal data like your IP address we allow you to block them here. Please be aware that this might heavily reduce the functionality and appearance of our site. Changes will take effect once you reload the page.

Google Webfont Settings:

Google Map Settings:

Google reCaptcha Settings:

Vimeo and Youtube video embeds:

Other cookies

The following cookies are also needed - You can choose if you want to allow them:

Accept settingsHide notification only