Custom logo above main menu

January 2013 WordPress Theme
GK User
Thu Sep 12, 2013 11:21 am
Hi!

I want to insert a custom logo just above the main menu so it would be the first element in the layout. So, I've tried to create a new widget area. I don't know if I can put a widget area before the main menu area....I've registered the new widget area but I don't know where to insert the code inside index.php

Code: Select all
<?php if(gk_is_active_sidebar('newone')) : ?>
  <?php gk_dynamic_sidebar('newone'); ?>
<?php endif; ?>


It is possible to create a widget area in this place? Is there any method? Can I edit directly a given php file and insert the <div></div> myself? :?:
User avatar
Senior Boarder

GK User
Thu Sep 12, 2013 1:55 pm
Hi,

You can use also <div></div> directly, but instead of index.php, use News/layouts/header.php file. (put <div></div> or registering sidebar code after <header id="gk-page-top"> and inside the <div class="gk-page">

And if you are changing these files, consider using Child-Theme, because you'll have a lot of work during future theme update:
http://www.gavick.com/magazine/gavernwp ... hemes.html
https://www.gavick.com/documentation/wo ... ld-themes/
User avatar
Moderator

GK User
Mon Sep 16, 2013 5:01 pm
Thanks Piotr,

I've finally figured out how child themes works, and I've sucessfully added a new header editing a copy of the header.php file. :)

http://wp.xeraco.es/
User avatar
Senior Boarder


cron