WordPress.org

Ready to get started?Download WordPress

Forums

P2
[resolved] How to remove thumbnail pic from posts (or alter other things) (5 posts)

  1. justinlong
    Member
    Posted 4 months ago #

    I run P2 on my blog (http://www.justinlong.org), and I'm the only one posting. I think having my photo on every post is a little redundant. I'm wondering if there's some way to remove this either from CSS, or if someone can tell me which file has the post display routines in it. I'm very familiar with PHP but I'm not sure what the best approach would be here.

    http://wordpress.org/themes/p2/

  2. Hi there, the simplest way to remove the avatar next to your name would be to hide it with CSS:

    .post-avatar {
       display: none;
    }

    Since you're already using Jetpack, an easy way to include custom CSS is by activating the Custom CSS module and adding your CSS there.

    Let me know how it goes.

  3. justinlong
    Member
    Posted 2 months ago #

    This works nice. Would be also nice to be able to shrink the margin space (which is normally taken up by the thumbnail).

  4. Learning how to target your site's CSS will help you make certain design changes. Here are some very helpful posts that will help you customize your site with CSS:

    https://dailypost.wordpress.com/2013/07/25/css-selectors/

    http://dailypost.wordpress.com/2013/06/21/css-intro/

    http://dailypost.wordpress.com/2013/08/29/css-matched-rule-pane/

    If CSS is new to you, here are some resources for learning more about it:

    I looked at your CSS to see that there is 60px of space being added there. I did a search to find all the references to 60 px and found these elements to be changed, in addition to one h4 reference which had a 55px margin. To undo that spacing, try adding this:

    .postcontent, #postbox .inputarea {
        padding-left: 0;
    }
    
    #main ul.commentlist, #main #respond, .textedit, #post-types, #main h4 {
        margin-left: 0 !important;
    }
  5. justinlong
    Member
    Posted 2 months ago #

    PERFECT!

    Thank you so much. I'll check out the articles that you mention. I am "fairly" new to CSS and this will be very helpful.

Reply

You must log in to post.

About this Theme

About this Topic

Tags