The Joomla! Forum ™






Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: H1 tag question
PostPosted: Sat Jun 12, 2010 4:23 pm 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Sun Oct 09, 2005 7:45 pm
Posts: 157
Hi, I have bellatrix template, and my template index.php has this code:

Code:
<!-- 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:
<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?


Top
 Profile  
 
 Post subject: Re: H1 tag question
PostPosted: Sat Jun 12, 2010 7:16 pm 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso

Joined: Fri Dec 08, 2006 3:33 am
Posts: 4406
Location: Montenegro
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


Top
 Profile  
 
 Post subject: Re: H1 tag question
PostPosted: Sat Jun 12, 2010 9:00 pm 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Sun Oct 09, 2005 7:45 pm
Posts: 157
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 :(


Top
 Profile  
 
 Post subject: Re: H1 tag question
PostPosted: Sun Jun 13, 2010 4:15 am 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Thu May 28, 2009 12:32 am
Posts: 823
Location: Atlanta, GA
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


Top
 Profile  
 
 Post subject: Re: H1 tag question
PostPosted: Sun Jun 13, 2010 7:01 pm 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Sun Oct 09, 2005 7:45 pm
Posts: 157
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:
#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:
<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?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 



Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group