Home Forums Themes Support Frames Quotes: Line breaks and height

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10889
    dirk
    Supported

    Hi there,

    I would like to insert line breaks in the quotes. That is not possible – neither when edited in the text box as carriage returns nor as html tag. One of both options should be available.

    I do not want the height of the image to vary in dependency of the length of the quote. The image should always cover the whole box. Otherwise the image height jumps from quote to quote.

    It would be great if you could fix both issues.

    Thx, Dirk

    #10894

    Hi,
    Thanks for contacting us and choosing our product!
    It seems have something you understand wrong here.
    1. The image already cover the height of testimonial text:
    https://prnt.sc/jVEzVepX8qbM
    It depend on the height of testimonial text!
    2. You can use <br> tag to break line.
    However currently we escape HTML tag from description.
    You can change it in: wp-content/plugins/haru-frames/templates/testimonial then open file testimonial.php
    Go to line 105 and change the code from:

    <div class="haru-testimonial__description font__secondary"><?php echo esc_html( $item['list_description'] ); ?></div>
    to

    <div class="haru-testimonial__description font__secondary"><?php echo $item['list_description']; ?></div>
    You can customize via child theme follow this:

    How to customize WordPress theme using Child theme


    Hope this helps!

    ****
    Regards,
    HaruTheme

    • This reply was modified 1 month, 4 weeks ago by admin.
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.