Page 1 of 1

Designing {content} and {title} output

Posted: Mon Oct 09, 2006 12:15 pm
by Ylle
This is probably a very stupid question but I've got everything up and running and it works great -- but I can't find where to change the appearance of the {content} and {title} fields. I need to change the font size (without using the editor), font and color -- if possible also the line height.

What do I need to do?

/Ylle

Re: Designing {content} and {title} output

Posted: Mon Oct 09, 2006 12:22 pm
by Dee
Edit the "Layout" stylesheet used by the template.
It has a section

Code: Select all

div#content {
}
where you can change the style for the content block
and

Code: Select all

div#content h2 {
}
for the title (you could also add an id or class for this in the template to style it seperately).

Re: Designing {content} and {title} output

Posted: Mon Oct 09, 2006 12:35 pm
by Ylle
Thanks, Dee, but can I just add those tags to my own stylesheet, since I have my own template with my own stylesheet connected to it?

/Ylle

Re: Designing {content} and {title} output

Posted: Tue Oct 10, 2006 11:31 am
by Dr.CSS
In what ever div you have the {content} tag your CSS will reflect this with a div#yourdivid {the styling you want}
and however you have the {title} wrapped, {title}  if so then div#content h2 {the style you want}

id= is called in a CSS with # a class= is called with . as in .content {style you want}
class is so you can style more than one thing the same way, no 2 things should have the same id=.