Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #10134

    Hello All

    Some help on this would be appreciated.

    I want the option to turn off the following in posts:

    1. At the top of a post, beneath the post title, I want to be able to turn off this data:

    07 Mar 2012 ⋅ by??? ⋅ in Featured ⋅ 0 Comments

    2. At the bottom of a post, I want to be able to turn off this data:

    Comments are closed.

    LEAVE A REPLY

    Which file are these in, and then is it just a question of display: none; to turn them off?

    Many Thanks

    #66999

    I’ve figured out how to disable the data at top of the post, i.e.

    07 Mar 2012 ⋅ by??? ⋅ in Featured ⋅ 0 Comments

    by putting in following code in custom.css file

    .blog-meta, .blog-meta a{

    color:#aaa;

    display:none;

    }

    However, it does get rid of the whole line, whereas I was thinking I just wanted to get rid of the 0 Comments at the end. How can I do this?

    Thanks

    #67000

    Hi demozeno,

    Yep, you can just target the css class for each item and give it a display:none attribute. Here is the css to add to your Quick CSS or custom.css file:

    .blog-meta {
    display: none;
    }

    #top .comment-entry{
    display: none;
    }

    #67001

    Thanks for quick and helpful response. Just what I was looking for. They both work as you say.

    However, just one more question, as I hinted above, in my second post:

    Is it possible in this line: 07 Mar 2012 ⋅ by??? ⋅ in Featured ⋅ 0 Comments

    just to get rid of the 0 Comments bit, leaving the date, author and categories?

    This code:

    .blog-meta {

    display: none;

    }

    wipes out the whole line, whereas I was hoping I could just target the 0 Comments bit.

    Many Thanks

    #67002

    Hi demozeno,

    In that case you’ll want to use:

    .comment-container {
    display: none;
    }

    #67003

    Thanks so much, Devin. You’ve been a great help. The code worked as advertised. Everything in order now.

    #67004

    Hi!

    Thread closed :)

    Regards,

    Peter

Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘Disable date, comment, author data from posts’ is closed to new replies.