[TYPO3] <h1> to <h3> with css_styled_content

Ernesto Baschny [cron IT] ernst at cron-it.de
Mon Jan 14 21:06:05 CET 2008


Ryan Holdren wrote: on 13.01.2008 03:44:

> I am using tt_content and css_styled content to display my content for a
> template i am making. Its going good so far, I found some neat tricks for
> cleaning up the output and what I have looks something like this:
> 
> <h1>Test</h1>
> <p>Test</p>
> <h1>Test</h1>
> <p>Test</p>
> <h1>Test</h1>
> <p>Test</p>
> 
> Which is just how I want it except I need the h1's to be h4's (h1 is my site
> title, h2 is my subsite title and h3 is my page title, so h4 should be the
> subject headers).
> 
> How can I do this?

In the "Constant Editor" in the Category "CONTENT" you find:

Default Header type	[content.defaultHeaderType]
Enter the number of the header layout to be used by default.
Range: 1 - 5
Default: 1

Just change that value to "4" and you will be set.

Cheers,
Ernesto


More information about the TYPO3-english mailing list