WordPress.org

Forums

[resolved] Font size for single post/page (8 posts)

  1. hmcke
    Member
    Posted 5 years ago #

    I am having trouble resizing the font size of both my page template as well as the singular post.

    Examples:
    http://designtavern.com/about
    http://www.designtavern.com/2009/12/amazing-perforated-exterior/

    I cant for the life of me find in my css where to up the font from 10px to 12.

    Any help would be much appreciated

  2. Peter Boosten
    Member
    Posted 5 years ago #

    text.css, around line 15 holds a value of 62.5% for font-size. Increasing this increases the fontsize on your web site.

    Peter

  3. hmcke
    Member
    Posted 5 years ago #

    Cheers Peter,

    I gave it a try but found that when I upped the percentage to say 100%

    Although the single post and page php looks better it has made the index.php text look ridiculously big.

    Any ideas how I might over come this? keeping the font sizes separate?

  4. jakeyy
    Member
    Posted 5 years ago #

    To keep them seperate it's probably better to enclose the text you want to change in div tags and style them directly in the CSS.

  5. jakeyy
    Member
    Posted 5 years ago #

    On second inspection, looks like you could style all your post content with a single sweep.

    div.post rounded {
    
    rules go here
    
    }
  6. hmcke
    Member
    Posted 5 years ago #

    Hi Jakeyy,
    Thank you for the advice

    With my limited CSS I tried something along the lines of..

    div.post rounded {
    
    {font-size: 12px;}
    }

    no go :(

  7. spivurno
    Member
    Posted 5 years ago #

    I think the correct syntax to target those posts would be:

    div.post.rounded {
    font-size: 12px;
    }
  8. hmcke
    Member
    Posted 5 years ago #

    thanks spivurno,

    that seems to have done it.

    All your input is much appreciated! thanks guys.

Topic Closed

This topic has been closed to new replies.

About this Topic