Site logo

Archived topic

Different/extra class for .entry-meta in single post

4 replies · Started by Pete on January 30, 2015

Viewing posts 1–5 of 5

At the moment both the single post and comment form have the same class .entry-meta

This makes it difficult to display:none; just the single post meta and not the comment meta.

Can you add a css class for just the single post meta so I can hide the post meta but keep the comment meta

You can target the entry meta in the post like this:

.type-post .entry-meta {
      display: none;
}

Thanks

No worries!

resolved

This archived topic is closed to new replies.