Support

Account

Home Forums Front-end Issues Boostrap Collapse read more drop down

Unread

Boostrap Collapse read more drop down

  • Hi

    I am wanting to take some text from a custom field and show part of that field and have the user click read more to reveal the rest of the text using something like bootstraps collapse. eg.

    
    <div>
    <p> Some text in a paragraph from a field say a wysywig. Lets say 20 words. <a href="#readmore" data-toggle="collapse"> Read more</a>
    </div>
    <div id="readmore" class="collapse">The rest of the text is below here</div>
    

    Any thoughts on how to go about this?
    Thanks

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.