Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #249184

    Hi,
    I can’t for the life of me get comments on pages to align to the left side, something always gets messed up. So this is for pages, not posts.

    Can you help please?

    Here is an example: http://www.theguitarlesson.com/guitarists/bb-king/

    This is actually a custom post type, but it’s treated like a page.

    Thanks!

    #249953

    Hi halasyt!

    Here is the snippet to fix that :

    
    comment_meta_container { display: none!important;}
    .comment_container { margin-left: 0!important; 
    //in case you need to add uncomment the below rule
    //margin-top : 15px;  }
    

    Cheers!
    David

    #250154

    Hi,
    Thanks but this didn’t work: http://www.theguitarlesson.com/guitarists/bb-king/

    I forgot to elaborate on the initial question, so the reason I couldn’t get it working 100% was because whatever I did to the comments on page, it caused comments on posts to move as well.
    But on posts, there is an extra comment count area on the left side, so that doesn’t look good that way, you can see it here: http://www.theguitarlesson.com/guitar-lesson-blog/guitar-lessons/how-long-does-it-take-to-learn-guitar/

    So it’s sort of a Catch 22…

    Thanks,
    Tom

    #250651

    Hey!

    That page is showing the correct output. The space on the left is for the comment count: http://www.kriesi.at/themes/choices/2012/01/14/this-is-a-nice-post/

    Though on that page, the custom post type doesn’t seem to recognize the 0 comments which is what should be in place there. You could do a quick hack/fix with this:

    
    #top.single-guitarists .comment_meta_container {
        display: none;
    }
    #top.single-guitarists .comment_container {
        margin-left: 0;
        margin-top: 10px;
    }
    

    Best regards,
    Devin

    #251141

    Thank you, this worked perfectly! I didn’t even know you could target CSS by custom post type :-S
    Tom

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

The topic ‘Comment template on pages’ is closed to new replies.