Margaux Posted August 24, 2023 Share Posted August 24, 2023 Hi everyone, I tried looking on the forum if anyone had the same question, but I only found half of the solution (which is already great ^^) Site url : https://sailfish-porpoise-m85e.squarespace.com/blog/blog-post-title-two-erhxs-rgb35-6pzex I'm working on a blog post, and I would like to custom the "Image card block" so that the image is smaller and aligned to the left, and I would like the text to be aligned on the left too, and I also would like it to fill the red block here : I already found this code to custom the image size : #block-yui_3_17_2_1_1692881181534_18562.sqs-block-image .image-inset { max-width: 40%; height: auto; margin: 1 auto; } As you can see, I played a bit with it and managed to move the image to the left. Is it possible to move the text and make it fill the block ? Thanks ! Link to comment
Ziggy Posted August 25, 2023 Share Posted August 25, 2023 Can you add a site wide password for your website and share it here so someone can look at what you've done and suggest some code? https://squarefortytwo.com/squarespace-guides/add-a-site-wide-password-to-your-squarespace-website Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
Margaux Posted August 25, 2023 Author Share Posted August 25, 2023 Ok password is "hello". Let me know if it's working ! Link to comment
Solution Ziggy Posted August 25, 2023 Solution Share Posted August 25, 2023 It works, thanks! Try this Custom CSS, you can try replacing the code you currently have: #block-yui_3_17_2_1_1692881181534_18562.sqs-block-image .design-layout-card:not(.sqs-narrow-width)>div:first-child { width: 30% !important; } #block-yui_3_17_2_1_1692881181534_18562.sqs-block-image .design-layout-card:not(.sqs-narrow-width) .image-card-wrapper { width: 65% !important; } tuanphan and Margaux 1 1 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
Margaux Posted August 25, 2023 Author Share Posted August 25, 2023 Works perfectly, thank you so much ! Ziggy 1 Link to comment
Ziggy Posted August 25, 2023 Share Posted August 25, 2023 46 minutes ago, Margaux said: Works perfectly, thank you so much ! Brilliant! Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
Jen__ Posted August 26, 2023 Share Posted August 26, 2023 Hi, I hope it's OK to hop on here - I have a similar issue - wanting to resize the image in the card on blog posts, so as to create an author bio.https://sprout-flamingo-9m98.squarespace.com/recipes/dehydrated-raw-vegan-corn-chips?p Password: SQUARESPACE Margaux 1 Link to comment
Ziggy Posted August 26, 2023 Share Posted August 26, 2023 @Jen__ You can control this globally in the style settings which may work best for you if this is the only place you are using the Card Image Block. Given that these blocks now only apply to blogs since the Fluid Engine Editor is on every other page this is probably the case. If not then you should be able to use the previous code and apply it to your website using you block IDs, or by just removing the block ID portion of the code like this: .sqs-block-image .design-layout-card:not(.sqs-narrow-width)>div:first-child { width: 30% !important; } .sqs-block-image .design-layout-card:not(.sqs-narrow-width) .image-card-wrapper { width: 65% !important; } Jen__ and Margaux 1 1 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
Jen__ Posted August 26, 2023 Share Posted August 26, 2023 Thanks for your speedy solution! I was able to correct the issue using site styles. Extremely grateful to you Ziggy 🙏🙏 Link to comment
Ziggy Posted August 26, 2023 Share Posted August 26, 2023 9 minutes ago, Jen__ said: Thanks for your speedy solution! I was able to correct the issue using site styles. Extremely grateful to you Ziggy 🙏🙏 Glad to hear that, happy to help! Jen__ 1 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? 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