WordPress.org

Support

Support » Themes and Templates » Classic template change post font

Classic template change post font

  • I am working on the theme for my website:
    http://www.grannygears.com

    I am using the wordpress classic theme. I have been able to find where to modify most aspects of the theme, but the font style for the content has me baffled.

    I’ve searched the forum and was not able to find this topic discussed.

    I’ve changed the font in what seem to be the logical places to no effect.

    Here is the stylesheet

    /*
    Theme Name: WordPress Classic
    Theme URI: http://wordpress.org/
    Description: The original WordPress theme that graced versions 1.2.x and prior.
    Version: 1.5
    Author: Dave Shea
    
    Default WordPress by Dave Shea || http://mezzoblue.com
    Modifications by Matthew Mullenweg || http://photomatt.net
    This is just a basic layout, with only the bare minimum defined.
    Please tweak this and make it your own. :)
    */

    [Moderated: Too much code. Please consider placing the code in a text file on your site with a link here -or- use a pastebin service such as http://wordpress.pastebin.ca. Thanks!]

    I can see there is a story content class and a post class, but I don’t find either of these in the css. Am I missing something?

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Ok, here is the link to a page with the code in it:

    http://grannygears.com/questions/theme-question.html

    whooami

    @whooami

    Member

    Just add it to the style.css

    ie:

    .storycontent {
    font: .75em Arial, Verdana, sans-serif;
    }

    Thank-you! That got me part way there. Here is the code I added:

    .storycontent {

    font: 1.50em Arial, Verdana, sans-serif;
    letter-spacing: .5em;
    color: #666666;

    When I modify the code above, it changes the size and the color, but not the style of the font or the letter-spacing.

    I would like the story content font to be the same as the sidebar menu headings. How would I make that happen?

    Maybe this is a question more appropriate for another topic, but it seems odd that in the index file after the story content div, it has the code for more, yet in my blog, the more isn’t working. Does this all mean there is something still wrong about the story content div?

    <div class=”storycontent”>
    <?php the_content(__(‘(more…)’)); ?>
    </div>

    Sorry but this is all very confusing to me. I thought this would be an easy template to learn on, maybe not 🙂

    I am equally baffled with the same issue, if I even change the class=”storycontent” div to a class that I have created myself, it will change the font somewhat but it appears totally different than what it would appear outside of this template. From reading a little it appears ‘the_content’ function does some kind of format modifications but I am not sure all that it does. Any other help on how to modify the font of posted content would be great.

    just modify the css for

    div.storycontent p {
       font: 1.50em Arial, Verdana, sans-serif;
       letter-spacing: .5em;
       color: #666666;
    }

    modify the .storycontent div and p, li, .feedback div

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Classic template change post font’ is closed to new replies.
Skip to toolbar