WordPress.org

Ready to get started?Download WordPress

Forums

Classic template change post font (7 posts)

  1. moonflowerdreams
    Member
    Posted 6 years ago #

    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!

  2. moonflowerdreams
    Member
    Posted 6 years ago #

    Ok, here is the link to a page with the code in it:

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

  3. whooami
    Member
    Posted 6 years ago #

    Just add it to the style.css

    ie:

    .storycontent {
    font: .75em Arial, Verdana, sans-serif;
    }
  4. moonflowerdreams
    Member
    Posted 6 years ago #

    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 :)

  5. Anonymous
    Unregistered
    Posted 5 years ago #

    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.

  6. Derek Herman
    Member
    Posted 5 years ago #

    just modify the css for

    div.storycontent p {
       font: 1.50em Arial, Verdana, sans-serif;
       letter-spacing: .5em;
       color: #666666;
    }
  7. fp.darren
    Member
    Posted 5 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.