Thread: change font

Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2009
    Posts
    8
    Plugin Contributions
    0

    Default change font

    how do I change the main text font size and colour?

    I have made admendments to my template css file however cant seem to find the right part to edit.

    cheers

  2. #2
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: change font

    Quote Originally Posted by taylorosso View Post
    how do I change the main text font size and colour?

    I have made admendments to my template css file however cant seem to find the right part to edit.

    cheers
    Ta,
    admin panel/ tools/ define page editor/ define_main_page.php

    1. This is one place where you can edit the text and assign a <p>sample text</p>
    2. Or assign a id or class
    3. <div id="mainPageDesc"> Sample text <br /> More sample text<br />Last sample text.</div>
    4. Now use the stylesheet.css to control this element (div id)
    5. #mainPageDesc {font-size: 1.1em;}

  3. #3
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: change font

    I'm not sure if you meant "main" as haredo took it to mean, or whether you simply meant the base size of fonts when they aren't otherwise specified. If the latter...

    Near the top of the stylesheet.css you'll find something like this:
    Code:
    body {
    	margin: 0;
    	font-family: verdana, arial, helvetica, sans-serif;
    	font-size: 62.5%;
    	color: #000000;
    	background-color: #e5edf5;
    	}
    Change that 62.5% to something larger, like 75% or (my preference) 80%. Other font sizes further down in the stylesheet will adjust automatically, since they're all in relative units. Unless, of course, your changes are in pixels.

    For the color, change the line in that block that specifies color. That will affect all text in the site that isn't otherwise assigned some other value in the stylesheet, so check your site thoroughly for unintended consequences.

    Rob

    Rob

 

 

Similar Threads

  1. v151 change font style but font it isn't on pc how to do?
    By giuly in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 2 Mar 2014, 02:58 PM
  2. How do I change the font color and font style for the tag line?
    By Beyond Dreams in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 17 Feb 2013, 10:33 PM
  3. Change font in template with custom font?
    By bobmundo123 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 26 Jul 2012, 07:55 PM
  4. change font weight?
    By robsnowden in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 30 Jan 2008, 09:44 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg