Modifying the look of a post
-
I’m customizing Blocomo, a child theme of Twenty Twelve. I have set it up with a static front page, but on that static front page, I have inserted an excerpt of my latest blog post.
The static front page is page-templates/front-page.php. It “calls” the excerpt from content-fpage.php.
I want to modify the look of the excerpt and its title — change the font, reduce font size, and indent them about an inch — but only on this front page.
1. In my stylesheet, do I precede my changes with the name of the static front page (.template-front-page) or with the name of the page it calls from (.content-fpage ??)
2. The title of the excerpt is h2. Would the body be p?
Here’s the page I’m working with.
- The topic ‘Modifying the look of a post’ is closed to new replies.