Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #296089

    How do I make it so that I use a certain font and font size for ONLY text when showing a single post?

    Ie I want to use Georgia, 18px and 17em

    Thanks.

    #296103

    Hi netchoice!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    .single-post .entry-content {
    font-family: georgia;
    font-size: 18px;
    }

    Best regards,
    Yigit

    #296133

    Thanks Yigit.

    One follow-up… how do I make the same change to the title of the single post?

    “entry-content-header” only impact the tag line, but not the title?

    #296135

    Hi!

    Please add following code to Quick CSS as well

    .entry-content-header { font-family: georgia; font-size: 18px; }

    if that does not work, please post the link to your website

    Regards,
    Yigit

    #296136

    Unfortunately, that did not work.. for example, http://netchoice.staging.wpengine.com/real-motivation-behind-attack-ride-sharing/ (hosted on WPengine)

    Notice the title of the post is still in Open Sans.

    Also, is there a way to expand the width of the single post?

    Thanks.

    #296138

    Hi!

    Please add following code to Quick CSS

    #top .fullsize .template-blog .post-title { font-family: georgia; }
    #top .fullsize .template-blog .post .entry-content-wrapper > * { max-width: 100%; }

    If you would like to expand it even further, please add following code to Quick CSS as well

    #top .fullsize .template-blog .post .entry-content-wrapper { max-width: 100%; }

    Best regards,
    Yigit

    #296216

    Yigit,

    Thanks for the responsiveness.

    If I only wanted to make those changed to the #top in a single post, how would I go about doing that? ie so it is still Open Sans at http://netchoice.staging.wpengine.com/ (hosted on WPengine) and still default width

    As an aside, you guys rock!!

    • This reply was modified 9 years, 8 months ago by netchoice.
    #296225

    Hey!

    You can use the .single-post class if you want to change the styling of posts only – use it like:

    
    #top.single-post .fullsize .template-blog .post-title { font-family: georgia; }
    #top.single-post .fullsize .template-blog .post .entry-content-wrapper > * { max-width: 100%; }
    

    Cheers!
    Peter

    #296563

    Worked.

    Already adopted into main site. Thanks again.

    #296740

    Hey!

    You are welcome, glad we could help! :) Let us know if you have any other questions or issues

    Regards,
    Yigit

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Custom font for only Single Posts’ is closed to new replies.