Setting a font for posts from a specific category
-
Hey all
I’ve been trying all night to figure how to change the font of my blog post category without affecting any other of the sites categories.
I previously created a custom category template which is a page which only shows posts from the category “blog”. I’m assuming the blog posts themselves are defined the same way all other posts on the site are e.g. via “single.php”
Therefore my idea was to find the reference to single.php in the custom category template and change it to another similar php file but with a different class defining the blog post content. This would allow me to change the font of the blog post category without affecting anything else.
The problem is when I look at my custom category template for my blog posts I cannot see any reference to “single.php” therefore i’m now a little lost.
Am I doing this all wrong? The code from my custom category template is below. Can anyone see where it references single.php?
[code moderated per forum rules - please use the pastebin]
- The topic ‘Setting a font for posts from a specific category’ is closed to new replies.