using custom fonts? (2 posts)

  1. shdt
    Posted 1 year 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
    Forum Moderator
    Posted 1 year ago #

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


Topic Closed

This topic has been closed to new replies.

About this Topic