From e4ac6b32ae3b6570a88dc534456a614f8f915183 Mon Sep 17 00:00:00 2001 From: ed <ed@brz9.dev> Date: Sun, 26 Mar 2023 20:03:21 +0200 Subject: [PATCH] css class added to widget section --- pcf-wp/functions.php | 2 +- pcf-wp/static/css/boilerplate.css | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/pcf-wp/functions.php b/pcf-wp/functions.php index 9dec819..0f62e01 100644 --- a/pcf-wp/functions.php +++ b/pcf-wp/functions.php @@ -38,7 +38,7 @@ function boiler_widgets_init() { 'name' => esc_html__( 'Menu Principal', 'boiler' ), 'id' => 'dyn-side-header', 'description' => esc_html__( 'Add widgets for header sidebar', 'boiler' ), - 'before_widget' => '<section class="widget">', + 'before_widget' => '<section class="widget headmenu">', 'after_widget' => '</section>', 'before_title' => '<h2 class="widget-title">', 'after_title' => '</h2>', diff --git a/pcf-wp/static/css/boilerplate.css b/pcf-wp/static/css/boilerplate.css index 303be2d..a86bc89 100644 --- a/pcf-wp/static/css/boilerplate.css +++ b/pcf-wp/static/css/boilerplate.css @@ -410,4 +410,13 @@ ul#menu-head li { ul#menu-head { text-align: right; +} + +section.headlogo { + display: inline-block +} + +section.headlogo img{ + max-height: 70px; + width: auto; } \ No newline at end of file