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!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.