[Resolved] Remove date and time from comments

Home Forums Support [Resolved] Remove date and time from comments

Home Forums Support Remove date and time from comments

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #1554033
    Amol Chavan

    Hello I tried below code which i found in this forum but it didn’t removed the Date and time from comments and comments reply. Pls help

    .comment-metadata > a {
    display: none;
    }

    .comment-metadata .reply {
    font-size: 0;
    }
    .comment-metadata .reply a {
    font-size: 14px;
    }

    #1555147
    Leo
    Staff
    Customer Support

    Hi there,

    Any chance you can link us to the site in question?

    You can use the private information field.

    Let me know πŸ™‚

    #1555986
    Amol Chavan

    Here is the website link :
    https://www.growthfunda.com/blog/ Go to any blog post and see that comments area.

    #1556254
    Baz

    Hi Amol,

    Try this

    .entry-meta.comment-metadata {
        display: none;
    }
    #1556946
    Leo
    Staff
    Customer Support

    Thanks Baz!

    That CSS should work πŸ™‚

    #1557501
    Amol Chavan

    Leo and Baz, It’s not working.

    #1559143
    Leo
    Staff
    Customer Support

    No problem πŸ™‚

    #1560037
    Amol Chavan

    What’s the solution then? The code which you guys provided it’s not working.

    #1560057
    Baz

    That code works for me.

    I also visited your website, and added the same code in the chrome inspector tool, and the date/time comments disappeared from your website.

    Maybe try adding it to the end of your stylesheet, or clear your cache?

    #1560094
    Amol Chavan

    No I tried it. How to add it to the end of the stylesheet. Does that mean add code at the bottom\last in the Additional CSS section? If Yes, then I have already added there.

    #1560106
    Baz

    You could try adding ‘!important’ e.g.

    .entry-meta.comment-metadata {
        display: none!important;
    }

    I still think the original code works, so there must be some caching isssue or CSS conflict somewhere.

    #1560671
    David
    Staff
    Customer Support

    Hi there,

    in your CSS you have an additional closing } that needs removing – i have commented below:

    } <---- remove this bracket
    /* remoeve date and Time */
    .entry-meta.comment-metadata {
        display: none!important;
    }
    #1560699
    Amol Chavan

    Superb, David. That’s a good catch. It’s working fine. Thanks for this.

    #1560700
    David
    Staff
    Customer Support

    Glad to hear that

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