Jump to content


Photo
- - - - -
Resolved

Custom font just for the blog portion of a website?

font

  • Please log in to reply
5 replies to this topic

#1 lakersalex

lakersalex

    Super Member

  • Members
  • 102 posts
  • LocationLos Angeles
  • Country: Country Flag

Posted 05 October 2012 - 12:51 AM

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

Please Login or Register to see this Hidden Content



On her blog page

Please Login or Register to see this Hidden Content

she wants to use a different font.

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

Thanks!

#2 James B

James B

    Advocate

  • Moderators
  • 4979 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 05 October 2012 - 01:03 AM

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.

Please Login or Register to see this Hidden Content



#3 lakersalex

lakersalex

    Super Member

  • Members
  • 102 posts
  • LocationLos Angeles
  • Country: Country Flag

Posted 05 October 2012 - 01:06 AM

Thanks James,

But when someone clicks on a blog post title then they're not on that page anymore. Like this:

Please Login or Register to see this Hidden Content



At that point the font will revert back correct?

#4 James B

James B

    Advocate

  • Moderators
  • 4979 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 05 October 2012 - 04:17 AM

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.

Please Login or Register to see this Hidden Content


  • lakersalex likes this

#5 lakersalex

lakersalex

    Super Member

  • Members
  • 102 posts
  • LocationLos Angeles
  • Country: Country Flag

Posted 06 October 2012 - 05:17 PM

Bamm! sweet James!

#6 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 06 October 2012 - 07:35 PM

The topic was marked as resolved.





Also tagged with one or more of these keywords: Resolved, font