Skip to content
Permalink
Browse files

Breack point por defecto en los widgets del front page

  • Loading branch information...
rogertm committed Jun 4, 2019
1 parent 3196034 commit 0bfdf3de59e2bb96d930914dc17fd77f9c1947e2
Showing with 2 additions and 2 deletions.
  1. +2 −2 inc/functions.php
@@ -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 ) :
@@ -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 */

0 comments on commit 0bfdf3d

Please sign in to comment.
You can’t perform that action at this time.