Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

7.1 Blog Thumbnail as background image


Question

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%;
}

 

Link to post
  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

1 answer to this question

Recommended Posts

Create an account or sign in to comment

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


×
×
  • Create New...