-
AuthorPosts
-
July 25, 2014 at 9:33 pm #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.
July 25, 2014 at 10:46 pm #296103Hi 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,
YigitJuly 25, 2014 at 11:36 pm #296133Thanks 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?
July 25, 2014 at 11:39 pm #296135Hi!
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,
YigitJuly 25, 2014 at 11:42 pm #296136Unfortunately, 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.
July 25, 2014 at 11:46 pm #296138Hi!
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,
YigitJuly 26, 2014 at 1:46 pm #296216Yigit,
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 10 years, 4 months ago by netchoice.
July 26, 2014 at 3:26 pm #296225Hey!
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!
PeterJuly 28, 2014 at 3:41 am #296563Worked.
Already adopted into main site. Thanks again.
July 28, 2014 at 1:41 pm #296740 -
AuthorPosts
- The topic ‘Custom font for only Single Posts’ is closed to new replies.