WordPress.org

Ready to get started?Download WordPress

Forums

Start e new post with a bigger font (default is too small) (12 posts)

  1. passegua
    Member
    Posted 2 years ago #

    I've read here and there that I should change my style.css in order to change the default font, but...

    even if I put font-family: verdana;
    font-size: 18pt;

    whenever I start a new post it is written with very small character.

    So, how could I set a bigger default font?
    If you need I could attach my style.css
    Thanks.

  2. Andrew
    Forum Moderator
    Posted 2 years ago #

    To change the CSS of a theme, you could do the following:
    Use a Child Theme - http://codex.wordpress.org/Child_Themes
    Use a Custom Style plugin - http://wordpress.org/extend/plugins/custom-style/

    Could you also link us to the relevant web page, or Pastebin.com the HTML and CSS of the page?

  3. passegua
    Member
    Posted 2 years ago #

    Thnaks, for the reply. I'll check the plugin first.

    Here's the style.css

    http://pastebin.com/nyKYtD9d

    and here's my blog: sinapsi.org/wordpress

    as you see all posts are verdana 14 pt but I have to change them manually everytime.

  4. passegua
    Member
    Posted 2 years ago #

    I added custom style plugin,
    I added these lines in it:

    <style type="text/css">
    font-family: verdana;
    font-size: 18pt;
    </style>

    nothing changes, neither editing neither posting.
    always tiny tiny font as in this post:

    http://lnx.sinapsi.org/wordpress/2000/08/11/very-small-writings/

  5. Andrew
    Forum Moderator
    Posted 2 years ago #

    What do you want to change, the paragraph font size?

  6. passegua
    Member
    Posted 2 years ago #

    I'd like to change the default font of every post.
    I suppose the paragraph font has to be changed.
    I'd like to click on "add a new post" and start writing with, let say, verdana 18pt, then publish it and read it on my firefox as, let say, verdana 18pt.
    That's all.

  7. Andrew
    Forum Moderator
    Posted 2 years ago #

    So the problem is with the admin area, not displaying the correct font and format when writing the post?
    If you want the actual web-page's posts to be in your styles, try the following CSS into the plugin

    .storycontent p {
     font-family: verdana;
     font-size: 18pt;
    }
  8. passegua
    Member
    Posted 2 years ago #

    I can display the fonts I like only if I, manually each time, add the html code, such as:
    <p><font size="5">This font has been set manually changing the html code.</font></p>

    I'd like not to change it manually, but having it already set as default font.

  9. passegua
    Member
    Posted 2 years ago #

    Wow! It seems to work!

    I copied exactly what you said:

    .storycontent p {
    font-family: verdana;
    font-size: 18pt;
    }

    and now it's correct!

    http://lnx.sinapsi.org/wordpress/2000/08/13/prova/

  10. Andrew
    Forum Moderator
    Posted 2 years ago #

    Excellent.

    Is there anything else we can help you with?

  11. passegua
    Member
    Posted 2 years ago #

    Many thanks, now I'll check if your code:

    .storycontent p {
    font-family: verdana;
    font-size: 18pt;
    }

    will work even when posting using windows live writer,
    and ... it does!

    http://lnx.sinapsi.org/wordpress/2000/08/13/this-is-working-well/

  12. passegua
    Member
    Posted 2 years ago #

    Excellent! You're really helpful!

Topic Closed

This topic has been closed to new replies.

About this Topic