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
- mrgarethevans@gmail.com
-
- Commercial Templates
- Saturday, 20 July 2013
- Subscribe via email
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.
- more than a month ago
- Commercial Templates
- # 1
Did also solve the h1 problem for the "renovate-template". Thank´s for the solution, Ciarán
- more than a month ago
- Commercial Templates
- # 3
Hi Ciaran,
Fantastic - that did the trick - thanks so much for sorting this one out!
Brilliant
Cheers,
G
Fantastic - that did the trick - thanks so much for sorting this one out!
Brilliant
Cheers,
G
- more than a month ago
- Commercial Templates
- # 4
Hi G
Also try replacing the following in your templates styles.php {../templates/j51_presence/php/styles.php)..
With..
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
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
- more than a month ago
- Commercial Templates
- # 5
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
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
- more than a month ago
- Commercial Templates
- # 6
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
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
- more than a month ago
- Commercial Templates
- # 7
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
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
- more than a month ago
- Commercial Templates
- # 8
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)...
Maybe changing to something like the following...
Ciarán
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
- more than a month ago
- Commercial Templates
- # 9
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »