Jump to content

Blog post issue on 7.1

Recommended Posts

Site URL: https://www.hvmc.sg/blog/engaging-our-youth

I used this code to make the first image on the post a bit wider than the rest of the post but I think the :first-child selector is messing up the layout of the whole page. Does anyone know what I could do instead to target the first block on a blog post?

.blog-item-wrapper {
overflow: hidden;
  .sqs-block:first-child {
left: 50%;
transform: translateX(-50%);
width: 70vw;
}
}

image.thumb.png.03deb3e12d905b6c9350d5d855543375.pngimage.png

👋 Michelle John
💕 
Catchafire volunteer 
🖥️ Web & graphic design for churches, nonprofits & small businesses

🔗 brambledesign.co

Bramble Design

Link to comment
  • Replies 1
  • Views 153
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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.