MJohn Posted September 26, 2022 Share Posted September 26, 2022 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; } } Link to comment
tuanphan Posted September 27, 2022 Share Posted September 27, 2022 Try this class name .blog-item-wrapper .span-12>.sqs-block:first-child Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment