# Creating a "Continue Reading" button

**URL:** <https://community.hubspot.com/t/creating-a-continue-reading-button/90851>\
**Category:** CMS Development\
**Tags:** css\
**Created:** [October 2, 2023, 8:14am UTC](https://community.hubspot.com/t/creating-a-continue-reading-button/90851 "2023-10-02T08:14:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SamanthaLumang](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/samanthalumang/32/6277_2.png) [@SamanthaLumang](https://community.hubspot.com/u/SamanthaLumang)\
**Post date:** [October 2, 2023, 8:14am UTC](https://community.hubspot.com/t/creating-a-continue-reading-button/90851/1 "2023-10-02T08:14:16Z")

</div>

Hello, there! We’ve received requests from clients quite a number of times about creating a “continue reading” or “read full article” button for long text that they want hidden to shorten a page’s length. Something like the image below. Has anyone has tried creating a button like it before?

 ![100176iDCA9B47EB31815FF.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/0/8/0872bc115756f10f6e68d257f8e29f9d940d6940.png)

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [October 4, 2023, 4:23pm UTC](https://community.hubspot.com/t/creating-a-continue-reading-button/90851/2 "2023-10-04T16:23:01Z")

</div>

Hey, there! With this type of request in the community, a better approach is sharing what you’ve built and where you are stuck. While our community can help with code, they typically cannot provide custom code from scratch.

If it were me, here’s where I’d start:

- CSS for hidden content

- HTML for content:

- The JS is where you’ll need more technical help to handle the button click and reveal the hidden content.

Other considerations:

- Include your JavaScript after the HTML content or in a DOMContentLoaded event
- You can place the JavaScript at the bottom of your HTML or use event listeners to ensure it runs after the DOM is loaded

Have fun building! — Jaycee
