PurpleFox Posted August 25 Posted August 25 Hello ! Each of my blog posts is made up of an image (which is not a featured image but an image added by the image block) and text. My text is aligned to the left and the only option I've found in the image DESIGN settings is to stretch the image, but this doesn't produce the desired effect of aligning the image to the left like the text. Is it possible, with some CSS ?, to align all the images added to my posts to the left? Thanks a lot for your precious help !
tuanphan Posted August 26 Posted August 26 Can you share link to this blog post? We can check easier Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
PurpleFox Posted August 26 Author Posted August 26 Yes thank you ! As the blog is private, the url was sent by private message.
paul2009 Posted August 26 Posted August 26 (edited) 15 hours ago, PurpleFox said: Is it possible, with some CSS ?, to align all the images added to my posts to the left? @PurpleFox This is normal with blog pages because they use something called LayoutEngine (now known as the "Classic" editor) instead of Fluid Engine. On these pages, the Image Block will use all the available width and will be centred if the image dimensions are smaller than the available space. There are two ways to left-align images. You can either: add a Spacer Block to the right of an Image Block to shrink it to the left, or add this to Custom CSS: /************************************** Left align blog post image blocks **************************************/ .blog-item-wrapper .sqs-block-image .design-layout-inline .intrinsic { margin-left: 0; } Did this help? Please give feedback by clicking an icon below ⬇️ Edited August 26 by paul2009 Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.
Solution PurpleFox Posted September 5 Author Solution Posted September 5 This code from @tuanphan is working : div.blog-body-wrapper .sqs-block-image-figure { margin-left: 0 !important; }
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment