WordPress.org

Ready to get started?Download WordPress

Forums

Testimonials by Aihrus
[resolved] Widget is not justifying the text (6 posts)

  1. shlomof
    Member
    Posted 1 year ago #

    Hello,
    I'm trying to add the testimonial widget to my sidebar. What happens is that the text is not set around the profile image, but only on the VERY small space between the right side of the image and the edge of the side bar, which leaves a space for about a single word.

    How do I make the text to be shown properly.
    I'm sorry I'm not able to leave the widget on my website to show the problem. I'd be glad sending a screenshot if needed.
    Thanks
    Shlomo

    http://wordpress.org/extend/plugins/testimonials-widget/

  2. Michael Cannon
    Member
    Plugin Author

    Posted 1 year ago #

    I've encountered this issue previously as well. Depending upon your widget area size, you might try altering image margins and paddings. Worst case, set the image float to none and force the text to below.

    If I understand correctly, the problem is that there's a word that's too wide for the available white space to display it in.

    http://stackoverflow.com/questions/320184/how-to-prevent-long-words-from-breaking-my-div
    http://stackoverflow.com/questions/1470810/wrapping-long-text-in-css

    I'll see about adding word-wrap to the baseline CSS after testing.

  3. shlomof
    Member
    Posted 1 year ago #

    Well, word wrapping is not the problem.

    I do want the text to start right when the profile ends and gets wider (up to the side bar width), below the image.

    I'm not really a programmer, is there adiiferent way of solving this. If this would not make my website looks so bad I'd live that so yo can actually see the problem, but I cannot.
    Thankks,
    Shlomo

  4. Michael Cannon
    Member
    Plugin Author

    Posted 1 year ago #

    I'm still not sure what's wrong. Can you please screenshot what's happening?

    See bottom of http://wordpress.org/extend/plugins/testimonials-widget/ for my support email.

  5. Michael Cannon
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for the screenshot. Okay, you're suffering from a similar problem I'm having. I've not had much luck getting the formatting regarding text and image to behave.

    Anyways, my temporary solution is to do the following.

    .widget .testimonialswidget_testimonial .testimonialswidget_image {
        display: block;
        float: initial;
    }

    However, in looking at your screenshot more closely. You've got some custom styling that looks to overwrite the original testimonial CSS. So your variant might differ.

  6. Michael Cannon
    Member
    Plugin Author

    Posted 1 year ago #

    For others that might have an idea on this problem…

    Here's the HTML, http://pastebin.com/vR1TNdkX, sample graphic, http://aihr.us/testimonial-text-wrap.png.

    Site is running WordPress 3.6-alpha with TwentyTwelve theme.

    The goal is to have the word "consecteturadipiscing" be up top on the right than below. I've seen JavaScript code to fix this via soft hyphens or some such, but I'm hoping for something simpler to include with Testimonials Widget.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags