Jump to content

Code for superimposing (not floating) blog title over its featured image.

Recommended Posts

I want to use a summary block at the top of my home page to showcase a featured blog post from among recent posts. Something like on the image attached here. 

However, unlike my regular posts which will have titles and metadata below their respective images (as in screenshot), I want the title of the featured post to be superimposed over its corresponding picture (in white text): just the title without any other metadata. I want the superimposed (not floating) title to only apply to the summary block featured post at the top of the home page and not apply to any of the other posts, including the same post when it appears within recent posts.

I hope that makes sense. I assume this has been asked before, but can't find what I am looking for.

Screenshot 2023-02-28 at 12.09.02 pm.png

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

Top Posters In This Topic

Top Posters In This Topic

Posted Images

14 hours ago, WNT said:

I want to use a summary block at the top of my home page to showcase a featured blog post from among recent posts. Something like on the image attached here. 

However, unlike my regular posts which will have titles and metadata below their respective images (as in screenshot), I want the title of the featured post to be superimposed over its corresponding picture (in white text): just the title without any other metadata. I want the superimposed (not floating) title to only apply to the summary block featured post at the top of the home page and not apply to any of the other posts, including the same post when it appears within recent posts.

I hope that makes sense. I assume this has been asked before, but can't find what I am looking for.

Screenshot 2023-02-28 at 12.09.02 pm.png

Do you mean that the summary block on your home page needs to be set only with the title, not other meta?

Can you share your URL so I can take a look?

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
  • 3 weeks later...
On 3/1/2023 at 2:53 AM, Beyondspace said:

Do you mean that the summary block on your home page needs to be set only with the title, not other meta?

Can you share your URL so I can take a look?

Really sorry for such a slow reply. Have just been recovering from illness. Have managed to sort things now. grateful for your help.

 

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.