• 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

    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)
  • 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

    (@headmonkey)

    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

    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

    (@headmonkey)

    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

    Email me your site link and the banner you want, I’ll look into this today.

    [email protected]

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

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