• Resolved Murraysimon

    (@murraysimon)


    I am using the free version and it is great except for an issue I found – when I add a feature image to the testimonial the name & details text below the main body of testimonial text is not aligning correctly – it is being pushed over to the right from the line below – I cannot post a screenshot so please have a look here: https://emps.com.au/Dev/ the code generated is this:

    [testimonials_cycle theme="light_style" count="-1" order_by="date" order="ASC" show_title="0" use_excerpt="0" show_thumbs="1" show_date="1" show_other="1" hide_view_more="0" show_rating="stars" testimonials_per_slide="1" transition="fade" timer="5000" pause_on_hover="true" auto_height="container" show_pager_icons="1" prev_next="1" display_pagers_above="0" paused="0"]
    

    Any help would be appreciated. Thanks in advance.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor richardgabriel

    (@richardgabriel)

    Hey @murraysimon!

    It looks like something in your theme’s CSS is setting text-align to center. The following placed into our plugin’s Custom CSS box should do the trick!

    blockquote.easy_testimonial{ text-align: left; }

    Can you let me know if that does the trick? It works great in my inspector.

    All the best,
    Richard

    Thread Starter Murraysimon

    (@murraysimon)

    Hi Richard – many thanks for this, it has improved it, but now text is wrapping around the image. That is not really what I was trying to achieve – I actually liked it centred, but as you probably saw it was all skewed… I have left it left aligned so you can see..

    You will notice it stand out in the ‘industrial’ testimonial (the one with the picture of pipes) that the bottom rows of text are under the picture not in a block as would look good.. ?? Is it possible to put the image in a table so the text section is not affected? I am not sure how to do that but I just wondered if that would sort it?

    Plugin Contributor richardgabriel

    (@richardgabriel)

    Hey @murraysimon

    If you’d like to push the text over so it doesn’t wrap around the image, try adding some left margin to the above snippet.

    You’ll need to tweak this I’m sure, but something along these lines:

    blockquote.easy_testimonial { 
        text-align: left;
        margin-left: 150px;
    }

    Best,
    Richard

    Thread Starter Murraysimon

    (@murraysimon)

    Hi Richard – once again thank you, but it is now wrapping under the text and the stars have gone ?? I assume this is the plugin not working correctly? When I choose not to have a featured image it works perfectly, but the moment I add an image it looks terrible.I am a bit of a css dunce so any more help would be appreciated.

    Plugin Contributor richardgabriel

    (@richardgabriel)

    Hey @murraysimon!

    Well, the plugin is working just fine, however the way the default theme is styled isn’t exactly what you want. The default theme is meant to have a left aligned image and text, and the text does wrap underneath the image.

    If you center the text, you end up with the first version you have. Personally, I would left align all of the text and add a left margin (adjusting the value using your inspector to get things lined up right) — that would keep the image on the left, all the text left aligned and visible, and nothing wrapping under the image.

    Personally I like the following CSS the best:

    .testimonial_author {
        margin-left: 160px;
    }
    .testimonial_body {
        margin-left: 160px;
    }

    All the best,
    Richard

    Thread Starter Murraysimon

    (@murraysimon)

    Hi Richard – that is awesome mate – well done! I am very happy with that and learnt something along the way – thanks for giving your time and effort, much appreciated!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Text alignment issue’ is closed to new replies.