• Resolved kawika07

    (@kawika07)


    Hi Folks,

    I have had some incredible help so far so thanks to Sam for helping out :). New issue … I LOVE the theme I am using however the font size for pages/posts is tiny. I assume there is an “easy” fix for this in some sort of style or other page.

    I am using the Techozoic theme and have the following files:

    Templates

    * 404 Template (404.php)
    * Archives (archive.php)
    * Archives Page Template (archives.php)
    * Attachment Template (attachment.php)
    * Comments (comments.php)
    * Footer (footer.php)
    * Header (header.php)
    * Main Index Template (index.php)
    * Options Panel Code Page Template (controlpanel.php)
    * Page Template (page.php)
    * Popup Comments (comments-popup.php)
    * Search Form (searchform.php)
    * Search Results (search.php)
    * Sidebar (sidebar.php)
    * Single Post (single.php)
    * Tag Archive Page Template (tag.php)
    * Theme Functions (functions.php)
    * l_sidebar.php (l_sidebar.php)
    * main.php (main.php)
    * rotate.php (rotate.php)
    * style.php (style.php)

    Styles

    * Stylesheet (style.css)
    * ie6.css (ie6.css)
    * options.css (options.css)

    Does anyone know exactly how I can increase the standard font size? I assume its in the style.css however I not terribly sure what I am looking at or what code I need …

    Thanks!

    DGS

Viewing 10 replies - 1 through 10 (of 10 total)
  • There are currently more than 850 themes in the WordPress Themes directory. Most people aren’t intimately familiar with every one of them, so a link to your site would help…

    Thread Starter kawika07

    (@kawika07)

    Try editing style.css and changing:

    #content {
    font-size:1em;
    color:#2c4353;
    }

    to

    #content {
    font-size:1.3em;
    color:#2c4353;
    }
    Thread Starter kawika07

    (@kawika07)

    Weird thing is the style.css has the following note:

    /*PLEASE NOTE
    Anything placed here is not processed if you need to add custom styles.
    Please edit use the custom css option on the Techozoic Options page
    as this file is not processed at any time.

    When I look at the options page I see where I might be able to adjust the “font” but not the size …

    array( “name” => “Post Body Font:
    <div class=\”fonts\”><span class=\”trebuchet\”>Trebuchet</span> | <span class=\”verdana\”>Verdana</span> | <span class=\”georgia\”>Georgia</span> | <span class=\”tahoma\”>Tahoma</span> <br \> <span class=\”arial\”>Arial</span> | <span class=\”times\”>Times New Roman</span> | <span class=\”lucida\”>Lucida Sans Unicode</span></div>”,
    “id” => $shortname.”_body_font”,
    “type” => “select”,
    “std” => “Lucida Sans Unicode”,
    “options” => array(“Trebuchet MS”, “Verdana”, “Georgia”, “Tahoma”, “Arial”, “Times New Roman”,”Lucida Sans Unicode”)),

    array( “name” => “Default Page Font:
    <div class=\”fonts\”><span class=\”trebuchet\”>Trebuchet</span> | <span class=\”verdana\”>Verdana</span> | <span class=\”georgia\”>Georgia</span> | <span class=\”tahoma\”>Tahoma</span> <br \> <span class=\”arial\”>Arial</span> | <span class=\”times\”>Times New Roman</span> | <span class=\”lucida\”>Lucida Sans Unicode</span></div>”,
    “id” => $shortname.”_default_font”,
    “type” => “select”,
    “std” => “Lucida Sans Unicode”,
    “options” => array(“Trebuchet MS”, “Verdana”, “Georgia”, “Tahoma”, “Arial”, “Times New Roman”,”Lucida Sans Unicode”)),

    Thread Starter kawika07

    (@kawika07)

    And the style.css doesnt have a content option in it =\

    download and install the developer add-on for firefox – that helps a lot to find out about the css styles that influence a particular part of the blog.
    looks like the css is mainly controlled by style.php:
    you could try to implement esmi’s suggestion there.

    I was afraid of that. πŸ™ That theme uses the most bizarre CSS filename that I’ve ever seen. It looks like a whole set of theme options are being encoded into the stylesheet’s filename.

    Is there no way to alter the base font size via the theme’s custom options?

    If all else fails, try editing header.php and, just before <!--[if IE 6]>, add:

    <style type = "text/css">
    #content {font-size:1.3em;}
    </style>
    Thread Starter kawika07

    (@kawika07)

    Unreal … looks like that worked perfectly! Thanks ESMI!!

    Mine’s like that too although when I right click on my site and then click Inspect Element, I can change the size and style of the font BUT it doesn’t stay that way. If I refresh or leave and come back later it goes back to the tiny letters that are there now. Kind of frustrating

    Sorry, my site is here

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Change Font Size in CSS?’ is closed to new replies.