Jump to content

7.1 Blog Thumbnail as background image

Recommended Posts

Posted

Hi there – wondering if there is anyway to have the thumbnail that is uploaded to a blog post to display inside the blog in addiction to the grid page. 

Specifically looking to get it left aligned and take up 50% of the screen.

site: https://tarantula-calliope-fl4m.squarespace.com/blogs/knowledge-base

pass: squarespace

 

current code – clearly not looking to have the same image on every blog so I'm looking for someone to replace the url with a thumbnail target...

/* Blog Interior */
.blog-item-wrapper article.entry {
  padding-top: 0;
  padding-bottom: 0;
  background-image: url("https://static1.squarespace.com/static/5eb179d00c6aef0b9ed1bfaf/5eb29c388099026de92ca571/5ec9945e02f4af1d185a2ed1/1590287286817/usual_wines_temperature_1024x1024.jpeg");
  background-repeat: no-repeat;
background-size: 50%;
}

 

  • Replies 1
  • Views 316
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.