Menu Close

An Easy Way to Change your Overall Font Size of WordPress theme

Home Forums Managed WordPress Hosting An Easy Way to Change your Overall Font Size of WordPress theme

This topic contains 1 reply, has 2 voices, and was last updated by Aakash Kanaujia Aakash Kanaujia 1 month ago.

  • Author
    Posts
  • #1657
    Eric Smith
    Eric Smith
    Keymaster

    The best way to modify your overall font size of your website is:

    You will need to add the following custom CSS to your WordPress theme.

    p {
    font-size:16px;
    }

    Note: This change will affect your overall font size in all paragraphs

  • #1662

    Follow these steps to change your overall fomt size of the wordpress theme:-

    Step-1 Log into the WordPress Dashboard.

    Step-2 Go to Appearance > Editor.

    Step-3 Make sure you are on the main “style.css” stylesheet. The “Twenty Twelve” theme uses the style.css style sheet. See image to the right.

    Step-4 Paste the following code at the top of the “style.css” sheet. In this case the font we are changing to is the “Courier New, Courier, monospace”font type.
    * {font-family:”Courier New”, Courier, monospace}
    The ( * ) in the CSS code will apply the Font style to all text in the website.

     

    Step-5 Click Update.

You must be logged in to reply to this topic.

Skip to toolbar