fix text overlap sidenav mobile view

This commit is contained in:
Jonas Heinrich 2020-07-15 14:53:28 +02:00
parent 6ef8819f52
commit ceb00d9599
3 changed files with 34 additions and 76 deletions

View file

@ -362,3 +362,19 @@ function kit_modify_posts_per_page( $query ) {
}
}
add_action( 'pre_get_posts', 'kit_modify_posts_per_page' );
# Register widget area
function kit_widgets_init() {
register_sidebar( array(
'name' => 'Custom Footer Widget Area',
'id' => 'custom-footer-widget',
'before_widget' => '<div class="content-wrap">',
'after_widget' => '</div>',
'before_title' => '<h2 class="chw-title">',
'after_title' => '</h2>',
) );
}
add_action( 'widgets_init', 'kit_widgets_init' );