Sera Posted October 29, 2020 Share Posted October 29, 2020 Site URL: https://tangerine-iguana-kwg3.squarespace.com/ Hello there, I'm attempting to add vertical lines to certain sections within my site, however it's proving difficult to do so. Anyone can help with custom coding on this one? I found some codes online, however the height of the vertical line doesn't follow the height of the block/ column upon scaling to different screen sizes. Ideally it would meet the horizontal lines above / below it or at the least have a consistent spacing in between them. Would love to see if there is a solution to this. Site URL: https://tangerine-iguana-kwg3.squarespace.com/ Password: MaintainS134! The section I'm hoping to address is in the About section. Thanks! Link to comment
tuanphan Posted October 31, 2020 Share Posted October 31, 2020 Hi. I don't see about us section. Can you share link to exact page? 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
Sera Posted November 13, 2020 Author Share Posted November 13, 2020 (edited) Hi @tuanphan - apologies! I somehow missed your response. Of course, here is the page I'm looking to solve forhttps://tangerine-iguana-kwg3.squarespace.com/about Additionally, I'm looking to do the same for the Classes section:https://tangerine-iguana-kwg3.squarespace.com/classes Which includes more blocks as well as a 3 column grid within the price section. If you could help in understanding how to potentially solve for this, that would be so helpful, I've been searching all over for how to code vertical lines between blocks 🙂 Thanks Tuanphan! Edited November 14, 2020 by Sera Link to comment
tuanphan Posted November 20, 2020 Share Posted November 20, 2020 Hi. Do you still need help on this? 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
Sera Posted November 20, 2020 Author Share Posted November 20, 2020 Hi @tuanphan Yes, that would be amazing, thanks a lot! Link to comment
Sera Posted November 28, 2020 Author Share Posted November 28, 2020 Hi @tuanphan not sure if this makes a difference in the URL but since the site is currently live, the pages with the vertical lines that I need help with are the following: https://www.in-form-studio.com/classes https://www.in-form-studio.com/about No password is required. Thanks a lot, appreciate all the help. Link to comment
tuanphan Posted December 3, 2020 Share Posted December 3, 2020 Try this CSS div#page-section-5f9c1abcb36a36116a4ff00e .span-6 { border-right: 1px solid black; margin-left: -1px; } div#page-section-5f9c1b862aa87e59d5bda52c .span-6 { border-right: 1px solid black; margin-left: -1px; } div#page-section-5f9c1b91e13a387cf76857b7 .span-6 { border-right: 1px solid black; margin-left: -1px; } 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
Sera Posted December 3, 2020 Author Share Posted December 3, 2020 Thank you @tuanphan ! This worked. One small area that isn't too significant I wanted to ask you about, the stroke is also applied to the right edge of the site margin, is there a way to only apply to the center? Additionally, I was also hoping to apply this to the same treatment for the About page, previously I found a code for including a rule in the center, however it doesn't follow the height of the block, and I'll remove the code I'm currently using since the one you have included works in following the height of the content. https://www.in-form-studio.com/about Thanks again for all of your help on this! I looked all over to find this seemingly simple solution, appreciate it! Link to comment
Guest Posted March 5, 2021 Share Posted March 5, 2021 @Sera i was having the same issue and fixed it with last-child / first child tags. i think for you it would be: div#page-section-5f9c1abcb36a36116a4ff00e .span-6:first-child { border-right: 1px solid black; margin-left: -1px; } div#page-section-5f9c1b862aa87e59d5bda52c .span-6:last-child { border-right: 1px solid black; margin-left: -1px; } div#page-section-5f9c1b91e13a387cf76857b7 .span-6:first-child { border-right: 1px solid black; margin-left: -1px; } if that doesn't work, i'd try the opposite! (last-child, first-child, last-child) but i think the code above is correct. great looking site! Link to comment
Xaissa Posted September 7, 2021 Share Posted September 7, 2021 (edited) Hello Sera I am looking to do this also, did you like the solution above? Any tips besides that to think of when you do theese lines? Edited September 7, 2021 by Xaissa Link to comment
MCarda Posted October 1, 2021 Share Posted October 1, 2021 HI @tuanphan, I'm sorry because I'm late with this topic 🙂 I want to place a vertical line between two column of text in my blog post page...but I don't understand where I have to paste the code. I'm sorry, I'm a noob! 🙂 THANKS! Link to comment
tuanphan Posted October 3, 2021 Share Posted October 3, 2021 On 10/1/2021 at 2:41 PM, MCarda said: HI @tuanphan, I'm sorry because I'm late with this topic 🙂 I want to place a vertical line between two column of text in my blog post page...but I don't understand where I have to paste the code. I'm sorry, I'm a noob! 🙂 THANKS! Can you share link to page in screenshot? 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
SpaceSquare Posted November 16, 2021 Share Posted November 16, 2021 @tuanphan I was hoping you could help me with a similar topic. I've added a vertical line which is fine but on mobile its still showing in the middle of the page and the line is going through the text, is there a way to stop it from showing on mobile? The website is https://www.fortro.co/services Link to comment
tuanphan Posted November 18, 2021 Share Posted November 18, 2021 On 11/17/2021 at 6:00 AM, SpaceSquare said: @tuanphan I was hoping you could help me with a similar topic. I've added a vertical line which is fine but on mobile its still showing in the middle of the page and the line is going through the text, is there a way to stop it from showing on mobile? The website is https://www.fortro.co/services I see you solved with this code @media screen and (max-width: 640px) { .vl { display:none } } 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
Leanie Posted February 4, 2022 Share Posted February 4, 2022 @tuanphan how do you get the div#page-section to apply the vertical line to? Link to comment
tuanphan Posted February 8, 2022 Share Posted February 8, 2022 On 2/4/2022 at 2:01 PM, Leanie said: @tuanphan how do you get the div#page-section to apply the vertical line to? You can use [data-section-id="..."] Use this tool to find data section id. https://chrome.google.com/webstore/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff?hl=en ( I usually div#page.. because find it take less time than data section id) 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
Leanie Posted February 8, 2022 Share Posted February 8, 2022 For those that are still struggling with this, I found a very easy tutorial tuanphan 1 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