Title: Virtue Theme header layout
Last modified: August 21, 2016

---

# Virtue Theme header layout

 *  [NetMonkey](https://wordpress.org/support/users/headmonkey/)
 * (@headmonkey)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/virtue-theme-header-layout/)
 * I just upgraded to Virtue 2.0 today and am using the latest WordPress version.
   I’m trying to code the header into three sections with logo to the right, banner
   in the center and two icons or images with text right aligned like the mockup
   example jpg here:
 * [http://netmonkeys.net/development/virtue-theme-header.html](http://netmonkeys.net/development/virtue-theme-header.html)
 * Can I do this with css, or is this going to have to be an edit to header.php?
   I’m using a child theme, so copying header.php to the child theme folder and 
   doing a hack wouldn’t be too difficult if I knew what/where to hack it. But I
   don’t.
 * I managed to get my banner to display, but it’s left aligned under the logo right
   now.
 * I searched the support forum but didn’t see anyone else posting about this. Any
   coding help is (greatly) appreciated!
 * Barry

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

 *  [Ben Ritner – Kadence WP](https://wordpress.org/support/users/britner/)
 * (@britner)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/virtue-theme-header-layout/#post-4594576)
 * You would need to edit the header.php file. You can try adding your banner in
   right after line 62
 * Kadence Themes
 *  Thread Starter [NetMonkey](https://wordpress.org/support/users/headmonkey/)
 * (@headmonkey)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/virtue-theme-header-layout/#post-4594590)
 * Kadence,
 * I just saw your post. Here’s what I see in the header.php file starting at line
   62 – 71 with closing divs in notepad++:
 *  <div class=”<?php echo $menulclass; ?> kad-header-right”>
    <nav id=”nav-main”
   class=”clearfix” role=”navigation”> <?php if (has_nav_menu(‘primary_navigation’)):
   wp_nav_menu(array(‘theme_location’ => ‘primary_navigation’, ‘menu_class’ => ‘
   sf-menu’)); endif; ?> </nav> </div> <!– Close span7 –> </div> <!– Close Row –
   >
 * Where should I insert code and what? Sorry, but I need a little help here to 
   get through this bro.
 * Barry
 *  [Ben Ritner – Kadence WP](https://wordpress.org/support/users/britner/)
 * (@britner)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/virtue-theme-header-layout/#post-4594591)
 * Lets backtrack, do you know how to place your banner image.. like do you know
   what code you want to add? Before you made it sound like you knew what you were
   doing just didn’t know where to add it?
 * If you are asking for all the code to make the header exactly like you want in
   the image it’s not really a support question but a developer one. By editing 
   this file you will need to add the css for this to smoothly move to mobile and
   align how you want.
 * Kadence Themes
 *  Thread Starter [NetMonkey](https://wordpress.org/support/users/headmonkey/)
 * (@headmonkey)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/virtue-theme-header-layout/#post-4594592)
 * Okay, I’ll agree this is more of a development question. And probably the only
   one I can’t overcome right now.
 * If I buy the premium version, will you help me with the php code hacks to the
   header and the css to make this work?
 * Barry
 *  [Ben Ritner – Kadence WP](https://wordpress.org/support/users/britner/)
 * (@britner)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/virtue-theme-header-layout/#post-4594618)
 * Email me your site link and the banner you want, I’ll look into this today.
 * [ben@kadencethemes.com](https://wordpress.org/support/topic/virtue-theme-header-layout/ben@kadencethemes.com?output_format=md)

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

The topic ‘Virtue Theme header layout’ is closed to new replies.

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

## Tags

 * [header](https://wordpress.org/support/topic-tag/header/)
 * [header.php](https://wordpress.org/support/topic-tag/header-php/)
 * [home](https://wordpress.org/support/topic-tag/home/)

 * 5 replies
 * 2 participants
 * Last reply from: [Ben Ritner – Kadence WP](https://wordpress.org/support/users/britner/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/virtue-theme-header-layout/#post-4594618)
 * Status: not resolved