Change post font (only, not site wide) using customized CSS

  • Author
    Posts
  • #41807

    How can I change only/just the post font (not site wide) using customized CSS?

    The blog I need help with is aldia.microjuris.com.

    #41953

    If I change it sitewide, my navigation menu gets screwy so I’m only looking to change the default post font but I cannot identify this in the CSS.

    #41954

    sillyandrea
    Theme Author

    Are you looking to change the font inside all posts or just one post?

    #41955

    all posts

    #41959

    sillyandrea
    Theme Author

    .entry-content { font-family: somethingehere; } should do it.

    #41966

    I added the following:

    .entry-content { font-family: 'Open Sans';
      font-style: normal;
      font-weight: 300;
      src: local('Open Sans Light'), local('OpenSans-Light'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/DXI1ORHCpsQm3Vp6mXoaTeY5mlVXtdNkpsMpKkrDXP4.woff) format('woff');
    }

    but it looks exactly the same… any ideas? Thanks so much for your help.

    #41973

    sillyandrea
    Theme Author

    Try a standard font instead of a google font.
    This process would be exactly the same in any theme. The .entry-content {} part is the only thing specific to this theme.

    Also see

    http://en.support.wordpress.com/custom-design/#custom-fonts

The topic ‘Change post font (only, not site wide) using customized CSS’ is closed to new replies.