Page 1 of 1

Article Template

Posted: Fri 8. May 2009, 06:29
by slinkyomeara
Hello,

How do I apply a template to an article and use css to style the article and text?
Where is the default style for the article text stored?

I can style everything already such as article date article summary article title but not the actual article text

cheers

Re: Article Template

Posted: Fri 8. May 2009, 10:24
by flip-flop

Re: Article Template

Posted: Sat 9. May 2009, 13:45
by slinkyomeara
Thanks for that now what is the tag for an articles content? These are the only sections but this does not cover the
actual article text? Is it in frontend.css?

<!--
sample custom full article summary template
===========================================

TITLE = article title
SUB = article subtitle
SUMMARY = article summary text
IMAGE = summary image, also click zoomable
CAPTION = summary image caption
DATE = show article date {DATE:FORMAT lang=LANG} or {DATE:FORMAT}

//-->
<div>

Re: Article Template

Posted: Sat 9. May 2009, 14:07
by update
Did you ever check out the Content Part concept? If not, the it will be the hottest thing to discover....

Re: Article Template

Posted: Sun 10. May 2009, 05:30
by slinkyomeara
ok i found that frontend.css is controlling the style of the article
so now ask what css style controls the articles text?

You still have not answered my question and those links you sent me are badly written english and hard to follow

Re: Article Template

Posted: Sun 10. May 2009, 08:17
by flip-flop
In every article/cp-template you can build your own classes (container) and set the corresponding instructions in template/inc_css/frontend.css (or your own on, created in template/inc_css/* - if you have bind it in Admin -> templates to your template).

Please translate the text into a better english if it is so wrong.

Knut