move logo position
April 2013 Joomla Templates
Rate this topic: 1.00 out of 6 based on 1 vote(s)
- GK User
- Fri Mar 21, 2014 2:53 am
- Reply with quote
- Report this post
Hi,
How can I move the logo to the left of the main menu at the top of the site?
I want to have it where the left side of the main menu starts.
Please see the attached image for demo.
Thanks!
How can I move the logo to the left of the main menu at the top of the site?
I want to have it where the left side of the main menu starts.
Please see the attached image for demo.
Thanks!
-
- Senior Boarder
- GK User
- Fri Mar 21, 2014 5:07 pm
- Reply with quote
- Report this post
Hello,
You have to open file layouts/default.php file and move the following fragment:
to:
so in result you should get the following code:
You have to open file layouts/default.php file and move the following fragment:
- Code: Select all
<?php $this->layout->loadBlock('logo'); ?>
to:
- Code: Select all
<div id="gkMenuWrapper">
<div class="gkPage">
<?php if($this->API->get('show_menu', 1)) : ?>
<div id="gkMainMenu" class="gkPage">
<?php
$this->mainmenu->loadMenu($this->API->get('menu_name','mainmenu'));
$this->mainmenu->genMenu($this->API->get('startlevel', 0), $this->API->get('endlevel',-1));
?>
</div>
<?php endif; ?>
so in result you should get the following code:
- Code: Select all
<div id="gkMenuWrapper">
<div class="gkPage">
<?php $this->layout->loadBlock('logo'); ?>
<?php if($this->API->get('show_menu', 1)) : ?>
<div id="gkMainMenu" class="gkPage">
<?php
$this->mainmenu->loadMenu($this->API->get('menu_name','mainmenu'));
$this->mainmenu->genMenu($this->API->get('startlevel', 0), $this->API->get('endlevel',-1));
?>
</div>
<?php endif; ?>
-
- Administrator
- GK User
- Fri Mar 21, 2014 7:54 pm
- Reply with quote
- Report this post
I did that and it worked but I also the logo twice.
It is in the new position and the old position.
(see the image below)
Thanks!
It is in the new position and the old position.
(see the image below)
Thanks!
-
- Senior Boarder
- GK User
- Sat Mar 22, 2014 1:59 am
- Reply with quote
- Report this post
I've asked you to move not copy the mentioned fragment:
- Code: Select all
<?php $this->layout->loadBlock('logo'); ?>
-
- Administrator
5 posts
• Page 1 of 1