Hello,
How do I re-position the logo to the top of the main menu?
<?php $this->loadBlock('logo'); ?>
<?php if(GK_REGISTER) : ?>
<a href="<?php echo $this->URLbase(); ?>index.php?option=com_users&view=registration" id="btnRegister"><?php echo JText::_('TPL_GK_LANG_REGISTER'); ?></a>
<?php endif; ?>
</div>
<?php endif; ?>
</div>
<?php if(GK_REGISTER) : ?>
<a href="<?php echo $this->URLbase(); ?>index.php?option=com_users&view=registration" id="btnRegister"><?php echo JText::_('TPL_GK_LANG_REGISTER'); ?></a>
<?php endif; ?>
</div>
<?php endif; ?>
<?php $this->loadBlock('logo'); ?>
</div>
h1#gkLogo {margin: 0 auto!important; float: none!important}
Seichinha wrote:Hi
I remind you that this is considerate customization, so you must be careful with future updates.
Please go to template parameters and enable override.css file.
Them open the following file from the template directory:
../layouts/default.php
remove this line
- Code: Select all
<?php $this->loadBlock('logo'); ?>
and replace this lines
- Code: Select all
<?php if(GK_REGISTER) : ?>
<a href="<?php echo $this->URLbase(); ?>index.php?option=com_users&view=registration" id="btnRegister"><?php echo JText::_('TPL_GK_LANG_REGISTER'); ?></a>
<?php endif; ?>
</div>
<?php endif; ?>
</div>
with this ones:
- Code: Select all
<?php if(GK_REGISTER) : ?>
<a href="<?php echo $this->URLbase(); ?>index.php?option=com_users&view=registration" id="btnRegister"><?php echo JText::_('TPL_GK_LANG_REGISTER'); ?></a>
<?php endif; ?>
</div>
<?php endif; ?>
<?php $this->loadBlock('logo'); ?>
</div>
Them add this lines on ../css/override.css file:
- Code: Select all
h1#gkLogo {margin: 0 auto!important; float: none!important}
Cheers
rcflash wrote:not work for me
Look.