Skip to content
This repository has been archived by the owner on Feb 7, 2021. It is now read-only.

Commit

Permalink
Breack point por defecto en los widgets del front page
Browse files Browse the repository at this point in the history
  • Loading branch information
rogertm committed Jun 4, 2019
1 parent 3196034 commit 0bfdf3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/functions.php
Expand Up @@ -208,7 +208,7 @@ function t_em_breakpoint( $section ){

/** Front Page Widgets Area */
if ( 'primary-featured-widget-area' == $section ) :
$breakpoint[] = t_em_grid( '12', 'md' );
$breakpoint[] = t_em_grid( '12' );
endif;
// Classes are needed for secondaries widgets only (two, three and four).
if ( 'secondary-featured-widget-area' == $section ) :
Expand All @@ -217,7 +217,7 @@ function t_em_breakpoint( $section ){
$widget_four = ( ! empty ( t_em( 'headline_text_widget_four' ) ) || ! empty ( t_em( 'content_text_widget_four' ) ) ) ? '1' : '0' ;
$total_widgets = array_sum( array( $widget_two, $widget_three, $widget_four ) );
$cols = 12 / $total_widgets;
$breakpoint[] = t_em_grid( $cols, 'md' );
$breakpoint[] = t_em_grid( $cols );
endif;

/** Footer Widgets Area */
Expand Down

0 comments on commit 0bfdf3d

Please sign in to comment.