Title: Widgets in header
Last modified: August 22, 2016

---

# Widgets in header

 *  [DLGN2](https://wordpress.org/support/users/dlgn2/)
 * (@dlgn2)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/widgets-in-header/)
 * Hi,
 * I have modified the header to include 3 widget areas.
    They are displaying vertically..
   I could use some help as I would like to have the displayed horizontally.
 * Header now is:
 * <div id=”page” class=”hfeed site”>
    <header id=”masthead” class=”site-header”
   role=”banner”> <?php if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘
   sidebar-4’) ) : ?> <?php endif; ?> <?php if ( !function_exists(‘dynamic_sidebar’)
   || !dynamic_sidebar(‘sidebar-5’) ) : ?> <?php endif; ?> <?php if ( !function_exists(‘
   dynamic_sidebar’) || !dynamic_sidebar(‘sidebar-6’) ) : ?> <?php endif; ?> <h1
   class=”site-title”>” title=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’));?
   >” rel=”home”><?php bloginfo( ‘name’ ); ?></h1> <h2 class=”site-description”>
   <?php bloginfo( ‘description’ ); ?></h2>
 * Can you let me know what information you would need to help?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Amin – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support2/)
 * (@wpmudev-support2)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/widgets-in-header/#post-5773986)
 * Hey there DLGN2,
 * Hope you’re well! 🙂
 * I don’t know the widgets you put so it would be awesome if you can share a site
   where it is implemented so I’ll just give you a custom css code. 🙂
 * Looking forward for your reply! 🙂
 * Take care,
    Calvin
 *  Thread Starter [DLGN2](https://wordpress.org/support/users/dlgn2/)
 * (@dlgn2)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/widgets-in-header/#post-5774039)
 * Hi There,
 * The site is [http://www.itst.nl/jdg](http://www.itst.nl/jdg) (its a test site
   to avoid messing with the live site)
 * Regards, David
 * Please let me know if you need more information..
 *  [Amin – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support2/)
 * (@wpmudev-support2)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/widgets-in-header/#post-5774187)
 * Hey there
 * Hope you’re well! 🙂
 * Yeah, that’s correct always have a staging site and always backup your live site
   😀
 * I suggest you use a child theme [http://codex.wordpress.org/Child_Themes](http://codex.wordpress.org/Child_Themes)
   or use css custom plugin like this: [https://wordpress.org/plugins/simple-custom-css/](https://wordpress.org/plugins/simple-custom-css/)
   if you will customize your theme.
 * Add the code in your child theme’s style.css or using the plugin mentioned above.
 *     ```
       .header-widget {
       	float: left;
       	padding-right: 20px;
       }
       ```
   
 * Let me know if it helps! 🙂
 * Best Regards,
    Calvin

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Widgets in header’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/kool/1.0.8/screenshot.png)
 * Kool
 * [Support Threads](https://wordpress.org/support/theme/kool/)
 * [Active Topics](https://wordpress.org/support/theme/kool/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/kool/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/kool/reviews/)

## Tags

 * [alignment](https://wordpress.org/support/topic-tag/alignment/)
 * [header](https://wordpress.org/support/topic-tag/header/)
 * [horizontal](https://wordpress.org/support/topic-tag/horizontal/)
 * [widgets](https://wordpress.org/support/topic-tag/widgets/)

 * 3 replies
 * 2 participants
 * Last reply from: [Amin – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support2/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/widgets-in-header/#post-5774187)
 * Status: not resolved