Page 1 of 1
How do we seperate the H1 from the title
Posted: Wed Sep 24, 2008 10:06 am
by webrankings
Hi Guys,
How can we seperate the h1 from the title in the cms? As at the moment giving a page title sets it for both.
Appreciate any help you can give.
Sorry if the answers out there somewhere. I have searched.
Re: How do we seperate the H1 from the title
Posted: Wed Sep 24, 2008 11:05 am
by webrankings
Would something similar to this work?
http://forum.cmsmadesimple.org/index.ph ... 842.0.html
Is there a better option?
Re: How do we seperate the H1 from the title
Posted: Wed Sep 24, 2008 12:49 pm
by Russ
Change the template? Not sure I really understand the question?
Re: How do we seperate the H1 from the title
Posted: Wed Sep 24, 2008 1:56 pm
by webrankings
When we set the title the title tag and the H1 tag automatically appears as the same.
For seo and usability reasons we need to be able to set these individually.
So the Title tag needs to be:
xxx example a xxx example b yz
H1 Needs to be
xx example
Re: How do we seperate the H1 from the title
Posted: Wed Sep 24, 2008 2:34 pm
by Russ
Do you have an example page or a snippet from your template? I'm still not sure I understand your meaning?
Re: How do we seperate the H1 from the title
Posted: Wed Sep 24, 2008 3:22 pm
by Nick Smart
I've created an additional content area and used that within my h1 tag and the title elsewhere.
Code: Select all
...
<title>{title} - {sitename}</title>
{metadata}
{stylesheet}
</head>
</__body>
...
<h1>{content block="Introduction"}</h1>
...
etc.
Is that what you're getting at?
Nick
Re: How do we seperate the H1 from the title
Posted: Wed Sep 24, 2008 3:31 pm
by Russ
OK Nick I'm still not sure I fathom what you are after... but what are you setting for the {content block="Introduction"} this will reflect what is displayed in ...... obviously.
The {title} - {sitename} is pulled from the page title and the sitename. If the {content block="Introduction"} sets these the same then they will be the same? Or am I missing something?
Perhaps show us your {content block="Introduction"} ?
Re: How do we seperate the H1 from the title
Posted: Wed Sep 24, 2008 3:38 pm
by webrankings
Cheers guys,
I think that was what we were after Nick.
Re: How do we seperate the H1 from the title
Posted: Wed Sep 24, 2008 3:49 pm
by Nick Smart
Russ wrote:
OK Nick I'm still not sure I fathom what you are after...
Hi Russ,
I'm not after anything. I was just suggesting a solution that might help webrankings, which it seems to have done.
Nick
Re: How do we seperate the H1 from the title
Posted: Wed Sep 24, 2008 3:53 pm
by Russ
Sorry Nick, I think I must be seeing things... too long at the screen I think! Apologies.
Re: How do we seperate the H1 from the title
Posted: Wed Sep 24, 2008 4:04 pm
by Nick Smart
No need to apologise.
Nick