Jump to content

Summary block image expands, doesn't link to blog post

Recommended Posts

Does anyone else have this problem?

I have a summary block on a Blog Page displaying blog posts, and on clicking the featured image, the image is lightboxed rather than going to the blog post URL. However when you open link in new tab, then it goes to the article. 

Oddly enough, I have a similar summary block on the Home Page (at the bottom) where the image links to the relevant article perfectly fine. 

Any ideas on what is going wrong?

Ideally I'd like the featured images to link straight to the article and be able to remove the "Read More" links.

Thanks!

Link to comment
  • Replies 3
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

I think it should be an option somewhere, or some code in Code Injection conflict with Summary, If you can't find it, you can add this to Website > Website Tools > Custom CSS to move read more link override whole box, to make it clickable to articles

/* Blog page summary */
body#collection-63e995cccb0aea2e46376368 {
a.summary-read-more-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    color: transparent !important;
    opacity: 0;
}
.summary-metadata-container.summary-metadata-container--below-content {
    display: none !important;
}}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (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.