Customizing spacing in between reactions

  • Unknown's avatar

    Just starting to tweak the style of my blog, and exploring CSS a bit, but I’ve got some issues
    -There is excessive space in between the different comments on my blog, how do I reduce it?
    -Is there an easy way to change the Name of ‘Leave a Reply’ link to something else

    Any help would be much appreciated

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    You can play with the bottom margin value in the following which controls the space between the Gravatar and the top of the comment. Paste this below any existing CSS you have.

    .comments-area article header {
        margin-bottom: 3.42857rem;
        overflow: hidden;
        position: relative;
    }

    If you want to tighten up the spacing between the comment and the “reply” link below, add this to the end of your CSS and adjust as desired.

    .comment-content p {
     margin-bottom: 1.71429rem;
    }
  • Unknown's avatar

    OK. This looks much better now. Thank you a lot.

  • Unknown's avatar
  • Unknown's avatar

    I’ve been tweaking some other elements, just two more questions.

    – There is a downarrow in my comments (&darr variable). How do I get rid of it?
    – I can move the avatar(class avatar and avatar-44), and the name of the person who is posting a comment (class fn), but not the datetime stamp below it, because I haven’t got a class name for it. Any idea?

  • Unknown's avatar

    This will get rid of the down arrow.

    .reply span {
    display: none;
    }

    The date is part of .comments-area article header . What sort of movement are you trying to do with the date?

  • Unknown's avatar

    Thanks again for those disappearing arrows.
    I would like to reduce the margin between the avatar on the one hand and both name (fn) and datetime on the other hand. I know how to shift the name (fn) but not the date time field

  • Unknown's avatar

    Try this:

    .comments-area article header cite,
    .comments-area article header time {
    	margin-left: 60px;
    }

    Adjust the margin-left value as needed.

  • Unknown's avatar

    Thank you,works perfectly

  • The topic ‘Customizing spacing in between reactions’ is closed to new replies.