On the blog grid view, I am currently using CSS to hide the "Comment" bubble, and the author (and one round-divider).
However, on the individual blog posts I'd also like to hide the comments, author, and possible tags. The latter two are easy with CSS. But the "No Comments" isn't a CSS tag (it's just a <a> link between two round-dividers), so it can't be hidden. How can I hide this? Plus there will be extra round-dividers that won't be hide-able individually.
Better yet, is there a way to hide some of this metadata without CSS?
There is a theme customizer control (Appearance > Customize > Theme Options > Blog > Hide metadata) to hide all the meta data from the grid/list view and on the single post page. If you want to hide some specifically you need to use CSS.
Please add the following under Appearance > Customize > Theme Options > Custom > Custom CSS:
On the blog grid view, I am currently using CSS to hide the "Comment" bubble, and the author (and one round-divider).
However, on the individual blog posts I'd also like to hide the comments, author, and possible tags. The latter two are easy with CSS. But the "No Comments" isn't a CSS tag (it's just a <a> link between two round-dividers), so it can't be hidden. How can I hide this? Plus there will be extra round-dividers that won't be hide-able individually.
Better yet, is there a way to hide some of this metadata without CSS?
Hi there,
There is a theme customizer control (Appearance > Customize > Theme Options > Blog > Hide metadata) to hide all the meta data from the grid/list view and on the single post page. If you want to hide some specifically you need to use CSS.
Please add the following under Appearance > Customize > Theme Options > Custom > Custom CSS:
body.single-post .post-meta-data span.author, body.single-post .post-meta-data span.tags, body.single-post .post-meta-data a:first-of-type { display: none; } body.single-post .post-meta-data span.category a { display: inline-block; } body.single-post .post-meta-data span.round-divider:not(:first-of-type) { display: none; }That should do the trick. It will only display the date and categories as you described.
If you have any questions, feel free to ask
Best regards,
Barry
OFFER FOR ENVATO CUSTOMERS: ONE-YEAR SUPPORT PLAN
QreativeThemes.com | Qreative Header Footer Designer Plugin | Give me a Rating
Hi Barry, thanks, this code worked. I also hid the whole metadata section for the list view of category pages.