[Support request] “Read more” options – long text on mobile?

Home Forums Support [Support request] “Read more” options – long text on mobile?

Home Forums Support “Read more” options – long text on mobile?

  • This topic has 3 replies, 2 voices, and was last updated 3 years ago by David.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1735097
    Morgan

    Might be beyond scope of support, but thought i’d ask here if there may be an existing or recommended solution.

    I’ve got certain blocks of text that while fine on desktop, are excessively long on mobile. While this is fine for, say, copy it’s not working for, say, testiomonials, and I’d ideally like to have a class I could apply to certain sections to make it truncate and show a “read more” link to expnd that section.

    Ideally like to avoid JS, and if required keep it tiny.

    Any tips?

    #1735163
    David
    Staff
    Customer Support

    Hi there,

    theres this code pen that provides the basic HTML and CSS required to make a read more toggle:

    https://codepen.io/Idered/pen/AeBgF

    You would have to use a HTML Block for the content to make it work.

    #1735394
    Morgan

    Thanks David – you consistently go above and beyond!

    #1735695
    David
    Staff
    Customer Support

    Glad to be of help 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.