MaggieBovary Posted May 15, 2021 Posted May 15, 2021 Site URL: https://keyboard-jaguar-k52z.squarespace.com/ Hi there, On the website I'm working on I would like to have the 'Support the project section' on the home page (the one with the text in the middle and the 2 images on the sides) divided by 2 vertical lines. I managed to do it but I noticed that when the screen size is reduced there's blank space between the end of the lines and the end of the section. The screenshot attached shows how I would like the lines to be for every screen sizes. Anoyone knows how to fix this? Thank you in advace 🙂 Website link: https://keyboard-jaguar-k52z.squarespace.com/ Password: tpt-2021
tuanphan Posted May 18, 2021 Posted May 18, 2021 Try adding to Design > Custom CSS iv#page-section-6066df98ff65861240fcdb85 .span-4:nth-child(2) { border-left: 1px solid black; border-right: 1px solid black; margin-left: -2px; } 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!)
MaggieBovary Posted May 19, 2021 Author Posted May 19, 2021 On 5/18/2021 at 2:32 AM, tuanphan said: Try adding to Design > Custom CSS iv#page-section-6066df98ff65861240fcdb85 .span-4:nth-child(2) { border-left: 1px solid black; border-right: 1px solid black; margin-left: -2px; } Hi @tuanphan, I tried but it doesn't work when I reduce the screen size (I attached a screenshot), any ideas?
tuanphan Posted May 21, 2021 Posted May 21, 2021 Add to Design > Custom CSS [data-section-id="6066df98ff65861240fcdb85"] .content-wrapper { padding-top: 0 !important; padding-bottom: 0 !important; } div#block-yui_3_17_2_1_1617353833161_11524 { padding-bottom: 0; } 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!)
MaggieBovary Posted May 21, 2021 Author Posted May 21, 2021 7 hours ago, tuanphan said: Add to Design > Custom CSS [data-section-id="6066df98ff65861240fcdb85"] .content-wrapper { padding-top: 0 !important; padding-bottom: 0 !important; } div#block-yui_3_17_2_1_1617353833161_11524 { padding-bottom: 0; } It works, thank you! I only tweaked it a bit: #page-section-6066df98ff65861240fcdb85 .span-4:nth-child(2) { border-right: 1px solid black; border-left: 1px solid black; margin-left: -2px !important; } [data-section-id="6066df98ff65861240fcdb85"] .content-wrapper { padding-top: 0 !important; padding-bottom: 0 !important; } #block-yui_3_17_2_1_1621616981666_9979 { padding-top: 7vh; padding-bottom: 7vh; }
Recommended Posts
Archived
This topic is now archived and is closed to further replies.