H1 tag question

Discuss Search Engine Optimization in relation to Joomla!. This forum will also have discussions on SEF/SEO Joomla! extensions.

Moderator: General Support Moderators

Smile
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 157
Joined: Sun Oct 09, 2005 7:45 pm

H1 tag question

Postby Smile » Sat Jun 12, 2010 4:23 pm

Hi, I have bellatrix template, and my template index.php has this code:

Code: Select all

<!-- BEGIN: HEADER -->
<div id="ja-header" class="clearfix">
   <h1>
      <a href="index.php">
      <script type="text/javascript">
         od_displayImage('sitelogo', '<?php echo $tmpTools->templateurl();?>/images/logo-bellatrix', 247, 50, '', '<?php echo $tmpTools->sitename();?>');
      </script>
      </a>
   </h1>


This is shown in my site source code (I'm concerned that is has H1 tags).
I have made my own H1 head modication as told in this guide:
http://www.newworlddesigns.co.uk/blog/j ... core-hack/

My article is shown as :

Code: Select all

<td class="contentheading" width="100%"><h1 style="font-size: 1em; ">
            <a href="/section_name/category_name/48-My-article-title-here.html" class="contentpagetitle"> My-article-title-here</a> </td>



Since there can be only 1 H1 tag can I remove the http://www.joomlart.com code? I mean how do I need to change it?

User avatar
Leftfield
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 4414
Joined: Fri Dec 08, 2006 3:33 am
Location: Montenegro
Contact:

Re: H1 tag question

Postby Leftfield » Sat Jun 12, 2010 7:16 pm

Smile wrote:Since there can be only 1 H1 tag can I remove the http://www.joomlart.com code? I mean how do I need to change it?
You can have multi H1 tags, but be careful!
Global Moderator.
http://vujosevic.com

Smile
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 157
Joined: Sun Oct 09, 2005 7:45 pm

Re: H1 tag question

Postby Smile » Sat Jun 12, 2010 9:00 pm

I tried to remove the H1 tags and if I do then the "clearfix" (logo position alignment) does not work right.

This seems to be serious joomlart template bug, even the new templates are configured this way. Since the templates are not free is there a fix for it? I would Ask joomlart but you can only post on their forum is you have paid money to them, and my subscription has expired for some time :(

User avatar
v2interactive
Joomla! Guru
Joomla! Guru
Posts: 823
Joined: Thu May 28, 2009 12:32 am
Location: Atlanta, GA
Contact:

Re: H1 tag question

Postby v2interactive » Sun Jun 13, 2010 4:15 am

Smile wrote:I tried to remove the H1 tags and if I do then the "clearfix" (logo position alignment) does not work right.

This seems to be serious joomlart template bug, even the new templates are configured this way. Since the templates are not free is there a fix for it? I would Ask joomlart but you can only post on their forum is you have paid money to them, and my subscription has expired for some time :(


Couldn't you just change it to H4 or H5? I mean, there is no font or anything showing, so it shouldn't have an affect on the display. That would let you keep your other H1 and you could use H2- H3/4 with no problems.
Josh
http://www.v2interactive.net - Atlanta Based Joomla Development and SEO

Smile
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 157
Joined: Sun Oct 09, 2005 7:45 pm

Re: H1 tag question

Postby Smile » Sun Jun 13, 2010 7:01 pm

Why positioning doesn't work without Heading tags?


I tried to do so and it seems to work.
I needed to change also template_css.css

Code: Select all

#ja-header h6 {
   font-size: 2em;
   position: absolute;
   top: 10px;
   left: 20px;
}

#ja-header h6 img {
   float: left;
}


And then the actual code like this:

Code: Select all

<div id="ja-header" class="clearfix">
   <h6>
      <a href="index.php">
      <script type="text/javascript">
         od_displayImage('sitelogo', '<?php echo $tmpTools->templateurl();?>/images/logo-bellatrix', 247, 50, '', '<?php echo $tmpTools->sitename();?>');
      </script>
      </a>
   </h6>


I'm using is as H6, Can anyone tell me if I can use it like H10 or how many header types are there?
Also this this means that Google will find first H6 then H1 on my page doesn't the order matter?


Return to “Search Engine Optimization (Joomla! SEO) in Joomla! 1.5”

Who is online

Users browsing this forum: No registered users and 2 guests