[Typo3] CSS and tt_news
Martin S
shieldfire at gmail.com
Sun Sep 11 17:21:15 CEST 2005
Changed template to
<div class="news-single-item">
<h1>###NEWS_TITLE###</h1>
<p class="author">###NEWS_AUTHOR###</p>
<p class="intro">###NEWS_SUBHEADER###</p>
###NEWS_IMAGE###
<p>###NEWS_CONTENT###</p>
<hr class="clearer" />
###NEWS_SINGLE_PAGEBROWSER###
</div>
sorry. But it doesn't pick up changes to p.author
2005/9/11, Martin S <shieldfire at gmail.com>:
>
>
>
> 2005/9/11, Jan Bednarik <info at bednarik.org>:
> >
> >
> > > Ony changes to .news-single-author is rendered in the front-end.
> > > Also, I'd prefer to add *all* CSS to a style sheet, but I only find
> > > templateFile =
> > > fileadmin/templates/distortion/tt_news_distortion_template.html
> > > not someway to specify a CSS-file.
> >
> > Just unset the CSS default style ( plugin.tt_news._CSS_DEFAULT_STYLE > )
> > and put it all to your own CSS.
> >
> > OK tried that.
> Same template as above. In the main CSS file it says:
>
> #news-single-item p.author{
> margin:0px 15px 20px 20px;
> font-size: 22px;
> font-family: serif;
> font-weight: bold;
> }
>
> Doesn't pick it up.
>
> Regards,
>
> Martin S
--
Regards,
Martin S
More information about the TYPO3-english
mailing list