WordPress.org

Ready to get started?Download WordPress

Forums

changing font at twenty fourteen (3 posts)

  1. baxterstockman
    Member
    Posted 4 months ago #

    hey,

    I have a question, how do I change a the font for the text on my site, (not title I already found out how that works)

    So I have my childe theme for twenty fourteen and wrote in this:

    .site-title {
    font-size: 28px;
    font-weight: 100;
    line-height: 48px;
    margin: 0;
    font-family: Verdana, sans-serif;
    }
    textarea {
    color: #2b2b2b;
    font-family: Raleway, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    }

    so the site title is for the site title, but the textarea code has no impact on the site (if I change it in the parent theme it works). Do I have to add something in front of the textarea? a # oder an @ or something (I tried already, did not work) ?

    Thanks

  2. stephencottontail
    Member
    Posted 4 months ago #

    textarea is an area where you can type text. For example, you typed the text for that post in a <textarea>. If you want to change the text for the whole site, try something like:

    body {
        font-family: Raleway, sans-serif;
    }

    That should cover all text on the site.

  3. baxterstockman
    Member
    Posted 4 months ago #

    works, perfect, THANK YOU !

Reply

You must log in to post.

About this Topic

Tags

No tags yet.