Jump to content

Put H1 tag in last item in breadcrumb


anze

Recommended Posts

  • 2 weeks later...

All you need to do for that is edit the theme - product.tpl - and use h1 instead of whatever it is at the moment.

I'm not sure having multiple h1's on a page is a good idea, but then I'm a purist :D

If you want it on the breadcrumbs, then you just edit breadcrumb.tpl. Pretty easy really.

Paul

Link to comment
Share on other sites

I add in global.css

h1 {
   font-size: 1.1em;
   line-height: 1.6em;
   padding-left: 0.5em;
   margin: 0.5em 0;
   text-transform: uppercase;
   font-weight: bold;
   color: #374853;
   background: transparent url('../img/title_bg.gif') no-repeat top left;
   height: 21px
}



and in product.tpl

line 92


    {$product->name|escape:'htmlall':'UTF-8'}


instead of h2


do google penantly using same size in h2 like in h1?

the size of font is the same

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...