Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

h1 containing logo in header of Joomla template

  • 06-04-2010 4:08pm
    #1
    Registered Users, Registered Users 2 Posts: 59 ✭✭


    I'm working on a Joomla template. It is based on Beez - one of the templates included in the install.

    The structure of the header layout is as follows:
    <div id="header">
    <h1 id="logo">
    <img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template;?>/images/logo.gif" border="0" alt="<?php echo JText::_('Logo Beez, Three little Bees'); ?>" width="300" height="97" />
    <span class="header1"><?php echo JText::_('Joomla Accessible Template'); ?></span>
    </h1>
    </div><!-- end header -->
    

    I'm wondering about the h1.

    I was informed lately that all h1 instances should be unique and the should only be one per page. Joomla outputs the page title as h1 so already we're breaking the rules. Can anyone confirm this or add any info?

    Thanks in advance :)


Comments

  • Registered Users, Registered Users 2 Posts: 1,257 ✭✭✭blue4ever


    if you want to use the H1 elsewhere a rename the header in the temple and make a css rule for the logo specifically - then, if you want, you can use the h1 elsewhere. Alt you could use the text you are keen on in the logo title?


  • Registered Users, Registered Users 2 Posts: 59 ✭✭Left


    Ya, I will remove the h1 and replace it with a div.

    I was wondering more about the accuracy of the information - one unique h1 per page...

    Anyone else?

    Thanks for the suggestions blue :)


  • Closed Accounts Posts: 9,700 ✭✭✭tricky D


    According to Matt Cutts (Google's SEO frontman), you can use multiple h1's if the page really, really needs it. However most pages don't and I just wouldn't do it. According to Aaron Wall (SEO Book), it's a bad idea. There may also be issues with aural style sheets and forward compatibility with html5.


  • Registered Users, Registered Users 2 Posts: 59 ✭✭Left


    great stuff, thanks for the info tricky :)


Advertisement