How to reduce space in Top Menu

January 2012 WordPress Theme
GK User
Wed Sep 24, 2014 11:17 pm
Hi,

I'd like to reduce the space between my logo and the lower border of the menu. See attachment.
Is there a way to have that space smaller?

And: How can I delete the "Login" Button at the upper right in the menu? I don't need it and would like to have more space for another menu button there.

Thanks!

cheers
Alex
User avatar
Senior Boarder

GK User
Thu Sep 25, 2014 6:49 am
Hi,

Add this code into override.css file:
Code: Select all
#gk-top-bar {
   height: 75px;
}


Regarding the login button, please edit Game/layouts/header.php file and remove this fragment:
Code: Select all
<?php if(get_option($gk_tpl->name . '_login_link', 'Y') == 'Y') : ?>
               <a href="<?php echo get_option($gk_tpl->name . '_login_url', 'wp-login.php?action=login'); ?>" id="gk-login"><?php (!is_user_logged_in()) ? _e('Log In', GKTPLNAME) : _e('Logout', GKTPLNAME); ?></a>
               <?php endif; ?>


I'll add option to enable/disable this button in the next theme update.
User avatar
Moderator


cron