[Typo3] Different wrap for header of first content element

FEZ (Felix Kratzer) fez at stoccer.de
Tue Dec 6 16:41:47 CET 2005


Ohhh....
Sometimes it's just TOO simple. Thanks a LOT!
(also now I have to get rid of <typolist> :-)

but thanks again!

FEZ


 > Jochen Rieger wrote:
> Hi Felix,
> 
> if you use css_styled_content for your content rendering, which is 
> integrated in TYPO3 3.8.1 (just include static in your root template) 
> then you will get exactly this rendering with special classes for the 
> first element etc.
> 
> Cheers,
> Jochen
> 
> FEZ (Felix Kratzer) wrote:
> 
>> Hi everybody!
>>
>> How can i wrap the header of the first page-content-element differently.
>> Why I need thisß
>>
>> At the moment I use
>> content.wrap.header1 = <h1>|</h1>
>> and h1{margin-top: 10px;}
>>
>> but this results in a badly placed first header.
>> As the page I'm working on will be edited by quite a few people I'd 
>> like to AUTOMATICALLY wrap the FIRST header of a page with maybe <h1 
>> class="firstheader"> | </h1>
>> and then use h1.firstheader{margin-top: 0px;}
>>
>> Any ideas on this?
>> Or am I missing some VERY simple solution to this?
>>
>> Thanks anyway
>> FEZ (Felix Kratzer)
>>  * STOCCER.COM *
> 
> 



More information about the TYPO3-english mailing list