Hi
This is probably very easy but i'm a novice programmer and have only used PHPWCMS a few times.
I have a website that is using articles with the WYSIWYG content part. How do i customise the class of the text? I have found how to control the Title, Subhead, Summary etc here:
http://forum.phpwcms.org/viewtopic.php? ... tle#p84617 but can't find how to change the style of the text, i.e the font throughout the site.
Any help with examples would be appreciated.
Thanks
Rich
Text class
Re: Text class
The overall font is styled within the body / html tag. Have a look at the top of frontend.css...
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
-
richardpettet
- Posts: 24
- Joined: Sat 21. Oct 2006, 11:16
Re: Text class
Hi
I've changed the stylesheet quite a bit so i'm not sure I know what you mean. Is it this?
.articleText {
color: #000000;
margin-bottom: 3px;
text-align: justify;
}
I know this is probably a really simple thing but i'm lost!
Rich
I've changed the stylesheet quite a bit so i'm not sure I know what you mean. Is it this?
.articleText {
color: #000000;
margin-bottom: 3px;
text-align: justify;
}
I know this is probably a really simple thing but i'm lost!
Rich
Re: Text class
This is the overall (default) definition:
for example
Later you will like to override id with your articleText definition: color and text-align (only for example also)
Code: Select all
body, html {
text-align: left;
font-family: "Lucida Grande","Lucida Sans Unicode","Trebuchet MS",Arial,sans-serif;
line-height: 135%;
color: #333;
}
Later you will like to override id with your articleText definition: color and text-align (only for example also)
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
-
richardpettet
- Posts: 24
- Joined: Sat 21. Oct 2006, 11:16
Re: Text class
Cheers for the replies, Claus.
This line changes the line depth and colour but not fonts or font size:
.body, html {font-size:20px; font-family: "Arial"; line-height: 100%; color: #000000;}
How do i change the font and size?
This line changes the line depth and colour but not fonts or font size:
.body, html {font-size:20px; font-family: "Arial"; line-height: 100%; color: #000000;}
How do i change the font and size?
Re: Text class
A bit further down in frontend.css
change or delete it to apply the body definitions
Code: Select all
td, th, p, div, span {
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 11px
}