Okay
  Public Ticket #195487
Remove Coments Section on Blog
Closed

Comments

  • Sam started the conversation

    Hi there 

    I would like to remove the comment section on a blog entry completely. It should not take up any space so the footer will be closer to the blog entry, see the attached picture. 

    Thanks in advance for your kind support.

    Regards, Sam

  •  1,824
    Support replied

    Hi Sam,

    The file to change in this case is comments.php in our theme folder.

    Thanks

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • Sam replied

    Thanks for your answer. Isn't it possible to remove it with a css code like

    element.classname {visibility: hidden;}    ((will keep the space))

    or 

    element.classname {display:none;}    ((will remove the space))

    I would need to know the elements or classnames, if possible.

    Regards, Sam

  •  1,824
    Support replied

    Hi Sam,

    Whatever it works, you want to disable the comments entirely, the code is the safest way.

    If you want to use CSS styles, you can add them in theme options Styling Options -> Custom CSS

    For the ids simply go wih chrome or firefox browsers and inspect element, it's the easiest way.

    Thanks

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • Sam replied

    I tried to figure out the elements but it did not work out. I hoped you could tell me the element/class I should use for the css code...

  • Sam replied

    Could you assist me on what elements I have to classify?

    Kind regard, Sam

  •  1,824
    Support replied

    Hi Sam,

    Try to remove the comments entirely.

    go to comments.php in the theme folder and replace the whole content with empty php tags: <?php ?>

    Thanks

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy