Tagged: hide author, hide comment, hide meta
Hi,
I tried a lot, but none of the CSS codes I found on the forum (sometimes for other themes) worked. Can you give me the right solution to get rid of the “by author” and the “comments count” at the top of of my posts? Thanks, Henny
Hi Henny,
To hide the by author and comment meta just go to Appearance > Customize > Design Option > Custom CSS and paste the below custom css code:
by author
comment
.entry-meta .by-author, .entry-meta .comments { display: none; }
Thank you!
Unfortunately the code is not working..
Hello Henny,
Can you please share us your site Url? So that we can check the problem.
please see the following URL: https://allegrias.nl/frankrijk/naar-de-battle-beaches-in-frankrijk/
We can not see those custom CSS code. Can you please add above custom CSS code so that we can check into your site.
The CSS code has been added. But ‘by Author’ and ‘number of comments’ are still visible.
You have placed the code inside below media screen:
@media only screen and (max-width: 736px) { which will hide only in max screen size 736px.
@media only screen and (max-width: 736px) {
So, please add the close curly bracket } above .entry-meta .by-author, so that the metas hide in all the screen size.
}
.entry-meta .by-author,
You are right! Thanks for your support! Everything is fine now.
Welcome anytime Henny