WordPress.org

Ready to get started?Download WordPress

Forums

How to change the font on Vigilance theme (4 posts)

  1. behnaz
    Member
    Posted 5 years ago #

    Hi. My blog is http://behnaz.info. It is obviously under construction...

    I have installed the Vigilance Child Theme, which is the customizable version of vigilance. I would like to change the font to Verdana, but am not sure what CSS code I need to enter to do this. I am very much a beginner to this.
    Any help would be appreciated.

  2. dcdomainz
    Member
    Posted 5 years ago #

    The CSS should look something like this:

    body {
    margin:0; padding:0;
    width:auto; height:auto;
    background:#e0edf3;
    font:0.75em Arial, Helvetica, sans-serif; color:#5e6568;
    line-height:19px;
    }

    Just replace the current font with Verdana

  3. behnaz
    Member
    Posted 5 years ago #

    Hi, thanks for your response. I went on the CSS editor page of my WordPress administration page, but I couldn't see the code you mentioned.

    This is what my CSS looks like

    /*
    Theme Name: Vigilance *Child Theme*
    Theme URI: http://themes.jestro.com/vigilance/
    Description: Your custom child theme for Vigilance. Make all your custom changes in the themes/myvigilance folder.
    Author: Drew Strojny
    Author URI: http://www.jestro.com
    Template: vigilance
    */

    /* Import Stylesheets, don't remove these.
    -----------------------------------------------------------*/
    @import url("../vigilance/css/undo.css");
    @import url("../vigilance/css/master.css");
    @import url("../vigilance/functions/style-options.php");

    /* Required WordPress Classes, don't remove these.
    -----------------------------------------------------------*/
    .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    }
    .alignleft { float: left; }
    .alignright { float: right; }

    /* Make all custom CSS changes BELOW this line
    -----------------------------------------------------------*/
    /* Example: Change the sidebar background to blue:
    #sidebar {
    background: blue;
    }

    */

  4. behnaz
    Member
    Posted 5 years ago #

    ok, actually i tried to insert some of that code and was able to change the body text for the blog posts to verdana. but i would like to keep the fonts on the rest of the page (header, tabs, etc) as default.

    so can someone tell me what code i need to only change the blog post font to verdana 10 pt?

    thanks

Topic Closed

This topic has been closed to new replies.

About this Topic