WordPress.org

Ready to get started?Download WordPress

Forums

using custom fonts? (2 posts)

  1. shdt
    Member
    Posted 8 months ago #

    Hello, I am new to wordpress. i want to change the post titles to some custom fonts. I successfully changed the body/post fonts using the following code:

    @font-face {
    	font-family: "Calluna";
    	src: url('../fonts/calluna-regular-webfont') format('truetype');
    }
    
    .two p, #single p {
    	font: normal 14px/22px 'Calluna';
    	font-family: 'Calluna';
    	font-size: 14px;
    	font-style: normal;
    	font-variant: normal;
    	font-weight: normal;
    	line-height: 22px;
    }

    Now I would like to use different fonts for the titles. how can i do it? Same as before? (@font-face. .src url. . and all) then the h1,h2 .. .codes? thank you.

  2. WPyogi
    Volunteer Moderator
    Posted 8 months ago #

    Depends on your theme/site - you should post in the forum for your theme and include a link to your site.

    http://codex.wordpress.org/Forum_Welcome#Where_To_Post

Reply

You must log in to post.

About this Topic