• Resolved shlomof

    (@shlomof)


    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

    https://www.ads-software.com/extend/plugins/testimonials-widget/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Michael Cannon

    (@comprock)

    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.

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

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

    Thread Starter shlomof

    (@shlomof)

    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

    Plugin Contributor Michael Cannon

    (@comprock)

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

    See bottom of https://www.ads-software.com/extend/plugins/testimonials-widget/ for my support email.

    Plugin Contributor Michael Cannon

    (@comprock)

    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.

    Plugin Contributor Michael Cannon

    (@comprock)

    For others that might have an idea on this problem…

    Here’s the HTML, https://pastebin.com/vR1TNdkX, sample graphic, https://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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Widget is not justifying the text’ is closed to new replies.