Tagged: author name, Meta
- This topic has 6 replies, 3 voices, and was last updated 4 years, 8 months ago by Theme Horse Support Team.
-
AuthorPosts
-
August 24, 2019 at 5:18 pm #67023rebelsnotesParticipant
Hi there,
I have recently started using the NewsCard theme and I love how easy and quick it is. Thank you for that.
I have also searched the forum and found this threat https://www.themehorse.com/support-forum/topic/hide-author-and-comments/
However, I want to only hide the author name, but leave the date and number of comments, with a slash between them. If I now delete the part about comments, there is no slash between the date and number of comments. Can you help me with CSS for that? I have tried a couple of options, but couldn’t get anything to work.Thank you!
MarieAugust 26, 2019 at 7:30 am #67119Theme Horse Support TeamKeymasterHi @rebelsnotes,
To hide only author then please go to Appearance > Customize > Additional CSS and paste the below custom css code.
.entry-meta .author { display: none; }
Thanks
August 26, 2019 at 5:08 pm #67146rebelsnotesParticipantMany thanks for your quick reply. This works perfectly on a single post, but on the front page I now see the date and then a slash behind it. How do I get rid of the slash?
Kind regards,
MarieAugust 27, 2019 at 1:06 pm #67179Theme Horse Support TeamKeymasterHi @rebelsnotes,
please go to Appearance > Customize > Additional CSS and again add the below custom css code to the end
.entry-meta .date:after, .entry-meta .author:after, .entry-meta .comments:after{ display: none; } .entry-meta .author:before, .entry-meta .comments:before { content: "/ "; }
Thanks
August 27, 2019 at 2:59 pm #67190rebelsnotesParticipantI have tried that but unfortunately it doesn’t work. Is there something else I can try?
Kind regards,
MarieAugust 27, 2019 at 7:19 pm #67197rebelsnotesParticipantOkay, I realized now that I had to use the second part in combination with the first, and then it works perfectly, thank you!
Kind regards,
MarieAugust 29, 2019 at 10:35 am #67272Theme Horse Support TeamKeymasterHello @rebelsnotes Great to know that it works. If you have any problem do not hesitate to contact us.
Thank you!
-
AuthorPosts
- You must be logged in to reply to this topic.