• Resolved sillypad

    (@sillypad)


    Is there a way to add a text hover-over to the “+” comment icon to say “Add a comment”? i’m getting feedback that people didn’t know where to leave comments.

Viewing 6 replies - 16 through 21 (of 21 total)
  • Thread Starter sillypad

    (@sillypad)

    ok – that works for the right + button but the text appears when you hover over and then it disappears. can we make the text stay on the screen without disappearing?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    also, is there a way to have the text fit into the circle?

    Replace the code from your content-single.php (Child Theme) with this: http://pastebin.com/dwaNhJh0

    Then add this CSS (instead of previous CSS):

    .comments-link a { text-indent: -9999em; }
    
    .comments-link a:hover {
     min-height: 5em;
     width: 6em;
     padding-top: 1em;
     border-radius: 100%;
     text-indent: 0;
    }

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    can we make the text stay on the screen without disappearing?

    Replace the CSS from my previous post with this:

    .comments-link a {
     min-height: 5em;
     width: 6em;
     padding-top: 1em;
     border-radius: 100%;
     text-indent: 0;
    }

    Thread Starter sillypad

    (@sillypad)

    awesome. almost done!
    there’s a small triangle below the Add a comment circle. does that have to be there?

    http://theartofmotherhood.com/2013/09/09/hello-world/

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    That once was the tail of the speech bubble and that will need to be re-positioned with some more CSS:

    .comments-link .tail {
     top: 48%;
     left: 40%;
    }

    Thread Starter sillypad

    (@sillypad)

    looks great – thanks andrew!

Viewing 6 replies - 16 through 21 (of 21 total)

The topic ‘Add text hover-over’ is closed to new replies.