Archived topic
Changing Front Page Title But Not The Actual Post
1 reply · Started by Jam on July 10, 2015
Viewing posts 1–2 of 2
Hi Tom
I'm using the masonry layout. I've set the h2 for the front page title a certain size and color. However, I do not want the same h2 size to be the same on the actual content itself.
How can I target the front page css so that it does not affect any of the elements in the post/page?
Thanks.
Best way would be to target masonry posts with CSS, and set the H2 for everything else through the Customizer.
For example:
.masonry-post h2.entry-title {
font-size: 20px;
}
This archived topic is closed to new replies.
