Remove "comments are closed" box

  • Author
    Posts
  • #2601681

    anneborkent
    Member

    I would like to remove the “comments are closed” at the bottom of every post/page. (In Dutch it says: Reacties zijn gesloten).

    How to go about that in the CSS? I am using The Morning After theme.

    Thanks a lot.

    The blog I need help with is riaborkentdotnl.wordpress.com.

    #2601792

    raulanton
    Staff

    Hi again! :)

    You can use h3.nocomments.mast3 selector to ask the browser not to show it:

    h3.nocomments.mast3 {
        display: none;
    }

    Hope it helps.

    #2601822

    anneborkent
    Member

    That helped. Partly.

    The “comments are closed” text (“reacties zijn gesloten” in Dutch) is gone.

    However, there is a large grey area with capital letters “REACTIES” (“COMMENTS”) just above it… How to remove that one??

    Thanks again, very much appreciated.!

    #2601843

    raulanton
    Staff

    Ok, let’s go for the whole! :)

    You can use this

    #comments h2.post_comm {
        display: none;
    }

    Or if you haven’t got any comment and you would like to remove the complete section, this other css magic:

    #comments {
        display: none;
    }

    If you use this second one, you don’t need the first one or even the previous h3.nocomments.mast3 statement, because these two would be included in #comments selector.

    Hope this helps.

    #2601850

    anneborkent
    Member

    Brilliant, this section is completely invisible now. Thanks very much for the helpful explanation too.

    #2601858

    raulanton
    Staff

    :)

    Enjoy blogging!

The topic ‘Remove "comments are closed" box’ is closed to new replies.