Button to show (or not show) comments?

  • Unknown's avatar

    Theme: Twenty Twelve with CSS
    1. Is there a way to implant a button which when pressed would show the comments? There’s so much white space between the comments, the replay – it’s hard to read; I’d like it to just be revealed by button. For example: proustmatters.com>menu>Photo Stories>Looking Down in Manhattan.
    2. Can I get rid of the extra blank line between the commentor’s name and the comment itself.

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

  • Unknown's avatar

    1. Is there a way to implant a button which when pressed would show the comments? There’s so much white space between the comments, the replay – it’s hard to read; I’d like it to just be revealed by button. For example: proustmatters.com>menu>Photo Stories>Looking Down in Manhattan.

    CSS is for styling and placement of page elements and cannot be used to add functionality like you describe. To be able to expand and collapse comments, it would require scripting (php, ajax or javascript) and that is not allowed at this time at WordPress.com.

    2. Can I get rid of the extra blank line between the commentor’s name and the comment itself.

    The following will let you tighten up the space between the gravatar/username/date and the comment text.

    .comments-area article header {
        margin-bottom: 3.42857rem;
    }

    See how that works for you and if you want to tighten things in other places, let us know.

  • Unknown's avatar

    Dear sacred path,
    This didn’t seem to have any effect all. Please see my menu>Home

  • Unknown's avatar

    Hi, the value is the original value. Adjust the 3.42857rem value to your liking.

  • Unknown's avatar

    Yes!! Now, how about the space between the separation line and the top of the gravatar. Thank you thank you.

  • Unknown's avatar

    That is top margin on .comments-area article so add this and adjust the value as desired.

    .comments-area article {
        margin-top: 1.71429rem;
    }
  • Unknown's avatar

    Yes! Getting there! getting there! Now …
    1. Can I reduce the space at the end of the comment and before the reply (or edit if it’s the admin.)
    2. Can I make the comment font itself a little smaller.

    Thanks sooo much sacredpath for helping me on this. (BTW … I apologize for posting a new thread – I didn’t realize the conversation was going on here – where I started it!)

  • Unknown's avatar

    Hi, I’ve answered you in your latest thread on the other subject.

  • Unknown's avatar

    Yes, I and apologized if I spawned a duplicate thread. All is well now; no pending questions. Thanks so much for your help.

  • Unknown's avatar

    No worries and you are welcome.

  • The topic ‘Button to show (or not show) comments?’ is closed to new replies.