Jump to content

Optional "Read more" on blog posts?

Recommended Posts

  • Replies 5
  • Views 485
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

1 hour ago, USCThetaTau said:

Site URL: https://www.uscthetatau.org/meet-us-alum

Hi there,

I was wondering if there was a way to specify which blog posts the "Read more" link pops up on? 

Any suggestions would be greatly appreciated! Thank you in advance.

you can link the blog title to external page instead

Linking a blog post title to another page – Squarespace Help

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
13 hours ago, IgnitePerth said:

Can you expand on your question?  Do you wish to hide/display read more on specific people in that page or just change it for that whole page?

I'd want to hide/display read more optionally. It wouldn't be changed for the whole page, only specific individual people, if that is more clear. Thank you both again!

Link to comment

You can use the nth-child selector to specify which of the items you wish to hide the read more link for:

The below code uses that Page's Collection ID to only apply this on that page, then finds every summary item in the brackets and applies display:none to the read more link.

#collection-5b74d2618a922db16ab6c7cc .summary-item:nth-child(3) .summary-read-more-link{ 
	 				display:none;
}

 

This will hide the 3rd item's read more link.  To hide more you will need the same selector with a different number in the brackets and separate them via a comma, eg:

 

#collection-5b74d2618a922db16ab6c7cc .summary-item:nth-child(3) .summary-read-more-link,
#collection-5b74d2618a922db16ab6c7cc .summary-item:nth-child(4) .summary-read-more-link,
#collection-5b74d2618a922db16ab6c7cc .summary-item:nth-child(8) .summary-read-more-link
{ 
	 				display:none;
}

 

Edited by IgnitePerth
spelling

Contact Us for detailed help

Common Squarespace Tips

Sharing Your Site Link

Squarespace web designers in Perth WA.

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.