Sharing is helping.

We offer you this space to share your knowledge about Magento and learn from our experienced customers.


    Home Forums "How do I" questions H1 Tags – Template Not Optimized

    This topic contains 3 replies, has 2 voices, and was last updated by  Anonymous 5 years, 10 months ago.

    Viewing 4 posts - 1 through 4 (of 4 total)
    • Author
      Posts
    • #4762

      Anonymous

      One of the core template changes made to Magento Default themes is the restructuring of the Heading Tags. Particularly the call to the H1 Tag. This theme is still calling the H1 Tags as per template builds prior to 1.4.

      Please advise if this template is going to be modified to incorporate the correct Heading Tag Structure?

      Regards,

      Norm

      #4763

      Anonymous

      Yes, I agree. But in the meantime, you can change the logo tags (if you are using an image becasue images should not have an H1 tag) in app/design/frontend/default/your_template/template/page/html/header.phtml from h1 to something like:

      Then you can change your styles.css to:

      Now you can change your title tags to H1 and adjust CSS in the same manner. Hope that helps a bit.

      #4764

      Anonymous

      Kevin,

      I just want to make sure I have this correct. Below is line 411 from my style.css

      h1#logo { float:left; margin-left: 10px;padding-right: 20px;}

      If I understand you correctly, you are recommending that I change this line to the following:

      div#logo {float:left; position: absolute;}

      Correct?

      #4765

      Anonymous

      Yes, I changed my position to absolute because my logo img is rather large, and using this default Magento image function in the System–>Configuration–>Design will influence your layout. In my customized Hellococo template, my large logo pushed out my slider, which is a problem many people are having with HelloTheme templates. Don’t forget to edit your header.phtml file.

      So you might need to position your logo with added CSS, so post your URL and I can help more. As far as SEO is concerned, you won’t have an image with an h1 tag, as you should really only have one h1 tag per page and it might be better used in an article title or something, although if you properly add the alt text to the image, you could just keep your h1 image tag.

      Kevin

    Viewing 4 posts - 1 through 4 (of 4 total)
    Reply To: H1 Tags – Template Not Optimized
    Your information:





    <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">