1. mrgarethevans@gmail.com
  2. Commercial Templates
  3. Saturday, 20 July 2013
  4.  Subscribe via email
Hi Ciaran,
I am trying to make my page titles H1 for SEO purposes rather than the default logo as H1.
I have found some info to make the H2 an H1 by changing the default.php file and putting it into the template directory but I'm not sure how to remove the H1 from logo. (As I now have 2 H1's on the same page which is a bit of a no no apparently)

Am I going about this the wrong way or is there an easy way to remove the H1 from logo?
Thanks again
G
Accepted Answer Pending Moderation
0
Votes
Undo
Oh, this was a misunderstanding! My post wasn´t a question - just an info for other forum members that this solution will also work with "renovate". Sorry for the fuddle.
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Sigmund

The above solution should also work for your Renovate template.

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Did also solve the h1 problem for the "renovate-template". Thank´s for the solution, Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Ciaran,
Fantastic - that did the trick - thanks so much for sorting this one out!
Brilliant
Cheers,
G
  1. more than a month ago
  2. Commercial Templates
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Hi G

Also try replacing the following in your templates styles.php {../templates/j51_presence/php/styles.php)..


/*--Set Logo Image position and locate logo image file--*/ 

h1.logo a {left:<?php echo ($logo_x); ?>px}

h1.logo a {top:<?php echo ($logo_y); ?>px}

<?php if($this->params->get('logoimagefile') == '') : ?>

h1.logo a {background: url(<?php echo $defaultlogoimage; ?>;) no-repeat; z-index:1;}

<?php elseif($this->params->get('logoimagefile') != '') : ?>

h1.logo a {background: url(<?php echo $this->baseurl ?>/<?php echo $logoimagefile; ?>;) no-repeat; z-index:1;}

<?php endif; ?>

/*--End Set Logo Image position and locate logo image file--*/


With..


/*--Set Logo Image position and locate logo image file--*/ 

div.logo a {left:<?php echo ($logo_x); ?>px}

div.logo a {top:<?php echo ($logo_y); ?>px}

<?php if($this->params->get('logoimagefile') == '') : ?>

div.logo a {background: url(<?php echo $defaultlogoimage; ?>;) no-repeat; z-index:1;}

<?php elseif($this->params->get('logoimagefile') != '') : ?>

div.logo a {background: url(<?php echo $this->baseurl ?>/<?php echo $logoimagefile; ?>;) no-repeat; z-index:1;}

<?php endif; ?>

/*--End Set Logo Image position and locate logo image file--*/


Failing that may I suggest sending template FTP access to your Joomla installations template folder to info@joomla51.com and we will make the changes for you.

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 5
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Ciaran,
I am using the J51_presence template for this one.
I have tried replacing all the h1.logo to div.logo in both nexus and template.css but the logo image disappears.
Any ideas?
cheers,
G
  1. more than a month ago
  2. Commercial Templates
  3. # 6
Accepted Answer Pending Moderation
0
Votes
Undo
Hi G

May I ask which of your template you are working with?

It has occurred to me that you will also have to change some of your templates CSS to apply the logo to a div rather than a h1 tag..

eg.. replacing all instances of h1.logo to div.logo

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 7
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Ciaran,
Thanks for the response.
I tried doing as per the below (using the presence template) but the logo image disappeared.
I tried changing the h1.logo and h1.logo-text to div.logo and div.logo-text in the nexus.css and template.css but to no avail.
Somehow the reference to show the logo image goes astray.
Where should I look to correct this?

Cheers,
G
  1. more than a month ago
  2. Commercial Templates
  3. # 8
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Gareth

You can try editing directly the source code for the logo to your own taste. You will find this located in the templates header..php (../templates/j51_yourtemplate/php/layouts/deader.php)...


<h1 class="logo"> <a href="/index.php" title="<?php echo $siteName; ?>"><span>
<?php echo $siteName; ?>
</span></a> </h1>


Maybe changing to something like the following...


<div class="logo"> <a href="/index.php" title="<?php echo $siteName; ?>"><span>
<?php echo $siteName; ?>
</span></a> </div>


Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 9
  • 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.