[Typo3] CSS and tt_news

Martin S shieldfire at gmail.com
Mon Sep 12 07:14:07 CEST 2005


2005/9/11, Jan Bednarik <info at bednarik.org>:
> 
> >>Doesn't pick it up.
> 
> Any chance I could see it on my own eyes? :)
> 

I don't have it online atm :(
I found a small error on my part - but the phenomena remains.

So I added to the site template

plugin.tt_news {
templateFile = 
fileadmin/templates/distortion/tt_news_distortion_template.html
_CSS_DEFAULT_STYLE >
}

The tt_news template looks like

<div class="news-single-item">
<h1>###NEWS_TITLE###</h1>
<p class="news-single-author">###NEWS_AUTHOR###</p>
<p class="news-single-intro">###NEWS_SUBHEADER###</p>
###NEWS_IMAGE### 
<p>###NEWS_CONTENT###</p>


###NEWS_SINGLE_PAGEBROWSER###
</div>

And the tt_news part of the stylesheet looks like 

.news-single-author{
margin:0px 15px 20px 20px;
font-size: 17px;
font-family: Constantia, Georgia, serif;
}

.news-single-intro{
margin:10px 15px 20px 20px;
font-size: 13px;
font-family: sans-serif;
text-align: justify;
}

Changes to .news-single-author is reflected in the FE, but not changes to 
.news-single.intro ...

Regards,

Martin S



More information about the TYPO3-english mailing list