making bannertop placement be above the logo

March 2014 WordPress Theme
GK User
Tue Jul 01, 2014 9:28 am
Hi,
Just wondering if there's anyway to have a full width header above the logo area, so basically making bannertop run the width of the site and sit above the logo area. Then moving logo to center area.
Attached is image of what I mean. I've had a go at changing this in the override section, but no luck.
User avatar
Senior Boarder

GK User
Tue Jul 01, 2014 1:46 pm
Hello,

It is possible - but requiers some changes (CSS and HTML). Generally this kind of cusotmization is beyond our technical support, but I'll give you some tips.

First you should move baner top widget area before the logo (News2/layouts/header.php.file)
This fragment is responsible for the logo:

Code: Select all
<?php if(get_option($gk_tpl->name . "_branding_logo_type", 'css') != 'none') : ?>
               <a href="<?php echo home_url(); ?>" id="gk-logo" class="<?php echo get_option($gk_tpl->name . "_branding_logo_type", 'css'); ?>Logo"><?php gk_blog_logo(); ?></a>
            <?php endif; ?>


Now you have to use CSS to display logo centered and make the the banner-top fullwidth:

Code: Select all

#gk-banner-top {
float: none;
max-width: 100%;
}
User avatar
Moderator

GK User
Wed Jul 23, 2014 11:23 am
Thank you so much! Banner worked well. I've changed the css for the logo to center and it doesn't work. Am I missing a step?
thanks in advance
User avatar
Senior Boarder

GK User
Fri Jul 25, 2014 8:59 am
Please provide an URL to your website.
User avatar
Administrator

GK User
Mon Jul 28, 2014 6:07 pm
Please add the following CSS code at the end of any CSS file:

Code: Select all
a#gk-logo {
margin: 0 auto!important;
float: none!important;
display: block;
max-width: 500px;
}
User avatar
Administrator


cron