badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Hide only author

Tagged: ,

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #67023
    rebelsnotes
    Participant

    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!
    Marie

    #67119

    Hi @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

    #67146
    rebelsnotes
    Participant

    Many 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,
    Marie

    #67179

    Hi @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

    #67190
    rebelsnotes
    Participant

    I have tried that but unfortunately it doesn’t work. Is there something else I can try?

    Kind regards,
    Marie

    #67197
    rebelsnotes
    Participant

    Okay, 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,
    Marie

    #67272

    Hello @rebelsnotes Great to know that it works. If you have any problem do not hesitate to contact us.

    Thank you!

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.