[TYPO3] T3 css for each content element: header + content

Christopher Torgalson bedlamhotel at gmail.com
Tue May 27 08:15:00 CEST 2008


On Tue, May 27, 2008 at 8:04 AM, Dmitry Dulepov [typo3]
<dmitry at typo3.org> wrote:
> Hi!
>
> Finees Mendez wrote:
>> I am looking for a way to insert my own css class for the header and
>> body of each content element.
>>
>> T3 wrappers for header: <div class="csc-header">
>>
>> There is no whole wrapper around the body of the content element
>> (i.e. <div class="csc-bodyText">) but a series of <p class=bodyText">
>> tags.
>>
>> How can I wrap the the body of every content element? This is my
>> current setup, but this wraps the entire column and then each
>> individual (whole) content element. If you have any ideas, please
>> help. Thanks.
>
> Take a look to TypoScript object browser. All these wraps are part of CSS styled content. Looks to "styles.content.get". You can unwrap it and see how content is rendered.


Also, search the archive. I'm certain both possible permutations of
your question (wrap content, not header, and wrap content and header)
have been answered here in the past.

-- 
Christopher Torgalson
http://www.typo3apprentice.com/


More information about the TYPO3-english mailing list