Jump to content

Custom Read More/Read Less HTML

Recommended Posts

Hi, 

I created custom code block on this page to create a "Read More/Read Less" button for this jobs page (see below) that was very text heavy. The function is working properly on desktop however when I look on my phone is all jumbled up. (Resizing my desktop to a mobile size on my computer everything looks fine.) I modified the code from here: https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_read_more

Does anyone have an idea what is happening in mobile and how to fix it, or maybe is there a better code option that I can use for this same effect and look? 

Appreciate the help in advance. Thanks

Website Page: https://bell-cheetah-n87s.squarespace.com/jobs
PW: scratch 

 

IMG_F1920CFE26EE-1.jpeg

Link to comment
  • Replies 2
  • Views 433
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

5 hours ago, BilO said:

Hi, 

I created custom code block on this page to create a "Read More/Read Less" button for this jobs page (see below) that was very text heavy. The function is working properly on desktop however when I look on my phone is all jumbled up. (Resizing my desktop to a mobile size on my computer everything looks fine.) I modified the code from here: https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_read_more

Does anyone have an idea what is happening in mobile and how to fix it, or maybe is there a better code option that I can use for this same effect and look? 

Appreciate the help in advance. Thanks

Website Page: https://bell-cheetah-n87s.squarespace.com/jobs
PW: scratch 

 

IMG_F1920CFE26EE-1.jpeg

Regarding read less/ read more, you can try the following solution on this post

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.