Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #627329

    Hello support!

    So I placed a customer reviews / testimonials element inside my clients page, which made all elements beneath on the page constantly move up and down – depending on the size of the testimonial text.

    So I changed this and set a fixed position by putting this code into the Quick CSS:

    .avia-slider-testimonials .avia-testimonial-content {
    height: 130px;
    }

    This works fine, however now when I look at the page on smartphones it cuts off some of the testimonial text. How can I make this work in responsive mode – so that the text is shown on desktop, tablets and smartphones and still retaining a fixed position that doesn’t cause the whole layout to jump up and down?

    Thank you!

    #628613

    Hey,

    Use a bigger number, like:

    @media only screen and (max-width: 480px) {
    .avia-slider-testimonials .avia-testimonial-content {min-height: 320px;}
    }

    Best regards,
    Josue

    #629094

    Thank you very much!! That worked fine! :)

    #629096

    You are welcome, glad to help :)

    Regards,
    Josue

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Testimonial element cuts off text on smartphones when assigning it fixed height’ is closed to new replies.