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

Michael Cannon michael at cannonbose.com
Tue May 27 04:04:35 CEST 2008


Finees,

Can you provide a sample of what you're trying to accomplish? I'm not
sure if you want the content element to be containerized or the header
and content individually containerized or what.

On Mon, May 26, 2008 at 10:00 PM, Finees Mendez <fineesmendez at yahoo.com> 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.
>
> # Remove extra TYPO3 markup
> # http://www.busynoggin.com/blog/blog-item/archive/2007/february/article/getting-rid-of-extra-markup-in-typo3/
> ######################################
> lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.addAttributes.P.class >
> lib.stdheader.stdWrap.dataWrap >
> lib.stdheader.3.headerClass >
> tt_content.stdWrap.dataWrap >
>
> # T3 Template Setup
> ######################################
> page.1 = TEMPLATE
> page.1 {
> ........
>  subparts.LEFT < styles.content.getLeft
>  subparts.LEFT.wrap = <div id="left"> | </div>
>  subparts.LEFT.renderObj.stdWrap.wrap = <div class="ContentElement"> | </div>
> ........
>
>
>
> _______________________________________________
> TYPO3-UG-US mailing list
> TYPO3-UG-US at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-ug-us
>



-- 
Michael Cannon
President of Cannonbose, LLC
+1 (800) 559-9773 | +1 (603) 559-9773 | Fax : +1 (802) 609-2776


More information about the TYPO3-UG-US mailing list