How do I make standardized text for my blog

Discussion in 'WordPress' started by wilsonljx, Apr 20, 2012.

  1. #1
    I am currently using thesis theme and I found it very troublesome to always changing the text size and font. Is there any way to choose my own text size and font in wordpress?
     
    wilsonljx, Apr 20, 2012 IP
  2. kiramanic

    kiramanic Peon

    Messages:
    205
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #2
    The font/size of general body text is usually controlled by your theme, rather than by you manually changing it in the editor.

    The best idea would be to edit your theme CSS to increase/decrease the size (whichever it is you're actually trying to do) and apply your chosen font but unfortunately this will only affect text that hasn't been manually altered in the editor. Any text that has been manually altered will stay as it is now, and you'll either have to leave it like that or strip out the special formatting from each post.

    If you're completely unsure what to do, CSS-wise, link your site and we can be more specific :)
     
    kiramanic, Apr 21, 2012 IP
  3. wilsonljx

    wilsonljx Banned

    Messages:
    49
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    91
    #3
    Alright thanks! This is my blog and is I would want to adjust the spacing for the text as well:)
     
    wilsonljx, Apr 22, 2012 IP
  4. kiramanic

    kiramanic Peon

    Messages:
    205
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Ok if I'm understanding correctly what you want to change, you need a file called layout.css and this is the part controlling the text size/line height in your post content:

    .format_text {
    font-size: 1.4em;
    line-height: 1.571em;
    }

    Remember any changes you make there to the font size won't affect text you've already altered in the editor.

    As for font, it seems you've manually changed the font to Georgia in the editor, but the following code (also in layout.css) uses Georgia for body text anyway, so I'm not sure why you've specifically done that in the editor.

    body {
    font-family: Georgia,"Times New Roman",Times,serif;
    }

    That should be enough to point you in the right direction. I've never actually worked with Thesis but I believe the best idea is to leave the existing files intact and make your changes in a custom CSS file, that way you don't lose them when you upgrade Thesis. I'm sure the theme docs explain more about that though. G'luck!
     
    kiramanic, Apr 22, 2012 IP
  5. wilsonljx

    wilsonljx Banned

    Messages:
    49
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    91
    #5
    Sorry, are you telling me that I do not have to add in anything and this is the right way?
     
    wilsonljx, Apr 23, 2012 IP
  6. kiramanic

    kiramanic Peon

    Messages:
    205
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #6
    The font was already set to Georgia, so you didn't need to actually change that in the editor. If you removed all the editor formatting, that second CSS snippet I posted from your layout.css would still make the text Georgia anyway.

    The first bit of CSS I posted is what's controlling your font size and line height, so if you want to change those just play with the numbers. However, if you upgrade Thesis in future it'll overwrite any changes you've made and you'll need to do it again, that's all.
     
    kiramanic, Apr 23, 2012 IP