Closed (fixed)
Project:
Storefront
Version:
7.x-1.2
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
31 Aug 2012 at 19:06 UTC
Updated:
24 Jan 2013 at 13:30 UTC
Hi, Currently,the sitename is wrapped in h1 tags and it appears on every page,so when I create a new article, I end up having 2 h1 tags on all pages.
Please is there a way to make the sitename have h1 tags on just the front page alone.
Thanks.
Comments
Comment #0.0
doncheks commentedstripped tag
Comment #1
doncheks commentedThis worked for me.
Open sites/all/themes/storefront/templates/page.tpl.php.Add
<?php if ($is_front): ?>to line 73 just before the beginning H1 Tag
Then add the following line of code after the closing h1 tag on line 77
Comment #2
dudenhofer commentedSorry! I had fixed the problem on dev and forgot to update this issue :P I basically did just what you mentioned :) I'll be rolling out another release in the next week or so that will include this fix. Thanks for pointing it out!
Comment #3
dudenhofer commentedThis should be fixed in the latest dev release.
Comment #4
dudenhofer commentedComment #5.0
(not verified) commentedstripped tags