THEMEHALL
  • Omega
  • Cart
  • Support
  • My Account

Shopping theme: How can I hide Comment Box?

Home › Forums › General Forums › Shopping theme: How can I hide Comment Box?

Tagged: comments, css, hide

  • This topic has 2 replies, 2 voices, and was last updated 11 years, 9 months ago by omotenashi-japan.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • April 23, 2014 at 2:59 am #2169
    omotenashi-japan
    Participant

    Thank you for your great theme!

    I looked up the topic and could not find how to hide the comment box in posts and pages.

    Please kindly tell me how can I do it.

    Thanks and best,

    April 23, 2014 at 7:37 pm #2177
    lverkeyn
    Participant

    Hi Omotenashi,

    I hide comments sitewide… no comment boxes appear anywhere. If this is what you want here is the code I used.
    You can put it in the css field found here: dashboard>appearance>customize>then click CSS and put this in the white box:

    .entry-comments, #respond {
        display: none !important;
    }

    I found this out by using Firebug, an add-on for Firefox browser. Firebug allows you to click on a Div on a page and find out the CSS that it is currently using. Using firebug, I realized that the comment section was in a div with an id of “respond” and that its css code was all listed in this css:

    .entry-comments, #respond {
    (here was a list of css properties)
    }

    so then I knew I had to copy that code into my custom css code, and change (or in this case, just add the line:
    display: none !important;
    in between the brackets…
    you leave the theme’s css stylesheet alone, and only input the custom code.

    April 24, 2014 at 1:28 pm #2181
    omotenashi-japan
    Participant

    Dear Iverkeyn,

    Thank you for your prompt reply.

    It worked perfectly!! It was so easy!!

    Thank you very much again for your advice.

    Much obliged!!!!

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)

You must login to reply to this topic.

Copyright © 2025 THEMEHALL.

  • Terms of Service
  • Resources
  • Blog
  • Support
css.php