Forums

[resolved] How do I remove the 'Closed' text from a post header? (5 posts)

  1. nattrill
    Member
    Posted 3 years ago #

    Hi,

    I've made a blog that doesn't require any comments, and have disabled them in the options. But every post still has a little comment icon and the text 'closed' next to it.

    How do I remove them both?

    Obviously I can replace the icon with a transparent square, but I'm still left with the text. I'd be happy with a bit of CSS that made the text white, a bit of a bogde but it would do. Unfortunately this is my first experience of php, I've just used HTML and CSS up until now. So if it's a php solution I would be grateful if it were spelled out for me..

    See what I mean at http://www.bethelchurchstonehouse.co.uk/bethel2008/

    The posts are held in the main tag at the top, and I'm using the k2 theme. I'd ask k2 directly, but their forum isn't accepting new users for some reason.

  2. nattrill
    Member
    Posted 3 years ago #

    Can anyone help me?

  3. figaro
    Member
    Posted 3 years ago #

    In your theme, look in the css directory and open the core.css file. File the following:

    .commentslink {
    background:transparent url(../images/comment.png) no-repeat scroll left center;
    margin-right:10px;
    padding:2px 0 2px 20px;

    Add display: none; to it somewhere...maybe like this:

    .commentslink {
    background:transparent url(../images/comment.png) no-repeat scroll left center;
    margin-right:10px;
    padding:2px 0 2px 20px;
    display:none;

    Note that there will be other places where comments stuff will show, single post view, archives, etc., but this change should remove what you want from the view you are talking about.

  4. nattrill
    Member
    Posted 3 years ago #

    Thanks Figaro, that worked a treat. Oh, and thanks for the info on what else I need to get rid of. Hopefully I will be able to use that command for the rest of it. But at least I know where to look now...

  5. figaro
    Member
    Posted 3 years ago #

    You're welcome. You won't be able to use that same technique for all of it, but give it a try and see how far you get. If you have more specific questions, post back and start a new thread.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.