1. SoundsEssential
  2. Sherlock Holmes
  3. Commercial Templates
  4. Friday, 12 June 2015
  5.  Subscribe via email
Hi,
I'm using the Central template and am interested in using BOTH a logo image AND the slogan text. (The client's business name is really long, so utilizing both seems to be the best option for maintaining responsive integrity.)

I also thought about adding a new module position, but didn't find the corresponding code in the header.php file mentioned here: http://www.joomla51.com/tutorials/item/creating-a-new-module-position-in-the-header-area-of-your-template.

Any suggestions on which option would be best and what/where to change this to make it possible?

Many thanks!
Malice
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Malice

To have your slogan appear at all times try replacing the following in your templates header.php (../templates/j51_central/php/layouts/header.php)..


<img class="logo-image" src="/<?php echo $this->baseurl ?>/<?php echo $logoimagefile; ?>" alt="Logo" />


With....


<img class="logo-image" src="/<?php echo $this->baseurl ?>/<?php echo $logoimagefile; ?>" alt="Logo" />
<p class="site-slogan"><?php echo $this->params->get('sloganText'); ?></p>


Note that for our Central template the slogan only appears when the 'Full Screen Header' option is set to yes!

For the Central template you will find the #header div opening tag in your templates index.php (../templates/j51_central/index.php)...


<div id="header">


CiarĂ¡n
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
That's brilliant. It worked perfectly. Thanks so much!
  1. more than a month ago
  2. Commercial Templates
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!