BrownKatUK Posted May 6, 2021 Posted May 6, 2021 Site URL: https://cowbell-star-rc9y.squarespace.com/ Hi - I am building a simple site with two blogs (one about books and the other about recipes) on the blog summary page I want the books to be a 2:3 vertical image size and the recipes to have 1:1 size images. The styling seems to copy over from the other blog and I don't want this. I know I can use a summary block as a work around but I would rather be able to style each page separately. I've tried to target the section using .data-section-id="608aac8d53f5b35b10544d95" then .blog-basic-grid .image-wrapper img and then I get stuck!! Any help most welcome. I am still quite a newby. site password: katherine Thank you!!
tuanphan Posted May 7, 2021 Posted May 7, 2021 Add to Books Page Header > Then save & reload your site <style> .blog-basic-grid .image-wrapper { padding-bottom: 150% !important; } </style> Notes 2:3 = 100% x 3/2 = 150% 1:1 = 100% x 1/1 = 100% 3:4 = 100% x 4/3 = 133.3333% ... 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!)
tuanphan Posted May 9, 2021 Posted May 9, 2021 Also, do you want to fix these? Site URL – https://cowbell-star-rc9y.squarespace.com/ 1. (Tablet-Footer) Make text one line? 2. (Recipes) You haven’t changed SEO Title so the browser tab name still shows “Blog 2” 3. (Mobile-Blog posts) Replace pagination title with Prev/Next text? 4. (Tablet-Blog posts) Increase content width? 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!)
BrownKatUK Posted July 6, 2021 Author Posted July 6, 2021 On 5/7/2021 at 1:51 PM, tuanphan said: Add to Books Page Header > Then save & reload your site <style> .blog-basic-grid .image-wrapper { padding-bottom: 150% !important; } </style> Notes 2:3 = 100% x 3/2 = 150% 1:1 = 100% x 1/1 = 100% 3:4 = 100% x 4/3 = 133.3333% ... @tuanphan once again thank you so much and sorry for my slow reply.
tuanphan Posted July 7, 2021 Posted July 7, 2021 No problem. If you have any other questions, just reply here. 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!)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.