WordPress.org

Ready to get started?Download WordPress

Forums

HMS Testimonials
[resolved] CSS id for making "author" bold ? (4 posts)

  1. Tracey
    Member
    Posted 6 months ago #

    Hi there Jeff

    I've just tried your plugin fo the first time; it's so easy to use!

    I'm using a shortcode to display one testimonials at a time at the bottom of my home page (test site) and would like to make the "author" bold, and add a tilda ( ~ ) in front

    So instead of "Jane Smith"
    it would be " ~ Jane Smith "

    I know I can do the bolding with CSS but can't find which ID/ field to use...

    And is adding the tilda possible?

    thanks!
    tracey

    http://wordpress.org/plugins/hms-testimonials/

  2. Jeff K
    Member
    Plugin Author

    Posted 6 months ago #

    .hms-testimonial-container .author {
    font-weight:bold;
    }

    To add a tilda you could use CSS but not all browsers support it.

    .hms-testimonial-container .author:before {
    content: "~ ";
    }

    The other way is to edit your testimonial and add it directly to source. Not as nice but will work across browsers.

  3. Tracey
    Member
    Posted 6 months ago #

    Thank you Jeff - the bolding works great - and I think your suggestion of adding the tilda in the author field will be more consistent as it's not working for me in Firefox.

    many thanks!
    Tracey

  4. Jeff K
    Member
    Plugin Author

    Posted 6 months ago #

    Sure thing.

Reply

You must log in to post.

About this Plugin

About this Topic