Archived

This topic is now archived and is closed to further replies.

  • 0

Resolved Custom font just for the blog portion of a website?


Question

Posted · Report post

Hi, I am putting the finishing touches on a website I built for a friend.

http://kneelandmercado.com/

On her blog page http://kneelandmercado.com/travelogue/ she wants to use a different font.

Is there an easy way to change the font family for just the blog posts?

Thanks!

Share this post


Link to post
Share on other sites

5 answers to this question

Posted · Report post

Bamm! sweet James!

Share this post


Link to post
Share on other sites

Posted · Report post

Hi there, you could try the following css. You'll have to put in the relevant page id for the blog and it will just change the body text on that page.


.page-id-2 body {

    font: 15px "Helvetica Neue", Helvetica, Arial, sans-serif; }

Share this post


Link to post
Share on other sites

Posted · Report post

The topic was marked as resolved.

Share this post


Link to post
Share on other sites

Posted · Report post

Ah yes you're right. Ok I've had another look online and just tested this on my test site, this will change the font in the body of all posts. I've never used this before but it seems to work. Let me know if it works for you.


.post {font-family:comic sans ms;}

1 person likes this

Share this post


Link to post
Share on other sites