Changing the Default Article Text Size

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
User avatar
forefront
Posts: 96
Joined: Sun 16. May 2004, 14:13
Location: Cherryvale, KS • USA
Contact:

Changing the Default Article Text Size

Post by forefront »

I cannot seem to locate where the default font size for articles is modified. I need to make the article text slightly larger for the user.
Don Bledsoe
FOREFRONT INTERNET
Pappnase

Post by Pappnase »

hello

please look into the frontend.css

Code: Select all

body {
	font-family: Verdana, Helvetica, Arial, sans-serif;
	font-size: 11px;
}


td, tr, th, p {
	font-family: Verdana, Helvetica, Arial, sans-serif;
	font-size: 11px
Karla
Posts: 223
Joined: Tue 26. Oct 2004, 11:56

Post by Karla »

"config.template_default.inc.php"

Code: Select all

$template_default["article"]["text_class"]				= "articleText";
So placing class .articleText in "frontend.css" with the desired font parameters should allow some CSS control... I ~think~ :roll:
User avatar
forefront
Posts: 96
Joined: Sun 16. May 2004, 14:13
Location: Cherryvale, KS • USA
Contact:

Post by forefront »

I thought that too. When I change it to, say, 18pt ... nothing happens. I can't figure out why.
Don Bledsoe
FOREFRONT INTERNET
pepe
Posts: 3954
Joined: Mon 19. Jan 2004, 13:46

Post by pepe »

Hi forefront,

Please check again, whether you are using the frontend.css file in your template!
User avatar
forefront
Posts: 96
Joined: Sun 16. May 2004, 14:13
Location: Cherryvale, KS • USA
Contact:

Post by forefront »

Yes, the last time I looked I was ... but I'll double-check that in case it got altered by accident.
Don Bledsoe
FOREFRONT INTERNET
shildebr
Posts: 24
Joined: Mon 18. Oct 2004, 09:49
Contact:

Post by shildebr »

Ich habe das gleiche Problem.

In der config.template.... steht der Code wie oben angegeben. In der frontend.css ist die articel-Class wie folgt angegeben:
.articleText { text-align: justify; }

Weder Textfarbe noch größe lässt sich verändern hier drüber.
Karla
Posts: 223
Joined: Tue 26. Oct 2004, 11:56

Post by Karla »

You're right... other CSS properties work okay, but "text-align:" is not one of them!!!
Last edited by Karla on Fri 7. Jan 2005, 23:38, edited 1 time in total.
Peekay
Posts: 286
Joined: Sun 25. Jul 2004, 23:24
Location: UK

Post by Peekay »

Is your frontend.css CHMOD 666. :?:
snezko
Posts: 21
Joined: Fri 11. Mar 2005, 18:33
Location: Wien
Contact:

doesnt work

Post by snezko »

i have the same problem. simply navigation about the text in article doesnt work. title, subtitle, summary, everything is controlled good, but this article text not. and I can not found where is it in PHP code. where is the right place to put a CSS definition of article text.

can somebody help me ??
many thanks Snezko
snezko
Posts: 21
Joined: Fri 11. Mar 2005, 18:33
Location: Wien
Contact:

articleText solved

Post by snezko »

i had the same problem. style .articleText defined in frontend.css didnt work. but this style works only for a content parts defined as TEXT not a HTML. Change your content parts of articles to the plain text and this style will work.
many thanks Snezko
Post Reply