FauneJournal Posted May 15, 2021 Share Posted May 15, 2021 Site URL: https://www.faune.co/ Hello! How can I remove padding or borders from the code block? I am currently using a code block to create a vertical line across the middle of my page (to divide it into two columns) but I would like the block to be just 1 pixel wide, which is the same as the line. Is there a way to do this? This page isn't published yet, but this is the block ID: #block-yui_3_17_2_1_1620062550788_4645 This is the code I am using to create the line in the code block: <div class="vertical-line"></div> and the code I am using in the custom css editor .vertical-line { height: 1650px; /* line height */ width: 1px; /* line width */ background: #a8a6a1; /*line colour*/ margin-right: auto; margin-left: auto; } Unless there is an easier way to divide your page with a vertical line? Thank you so much! Ana Link to comment
tuanphan Posted May 16, 2021 Share Posted May 16, 2021 Hi. I don't see it on homepage. 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
FauneJournal Posted May 16, 2021 Author Share Posted May 16, 2021 (edited) Hi @tuanphan Thanks for your reply. The post is work in progress and it's not live yet. But here is a screenshot if that helps? Because of the padding on the code blocks, my columns are not even in size and that's why I would like to get rid of the padding on each side of the code block. Edited May 16, 2021 by FauneJournal Link to comment
tuanphan Posted May 20, 2021 Share Posted May 20, 2021 On 5/16/2021 at 10:18 PM, FauneJournal said: Hi @tuanphan Thanks for your reply. The post is work in progress and it's not live yet. But here is a screenshot if that helps? Because of the padding on the code blocks, my columns are not even in size and that's why I would like to get rid of the padding on each side of the code block. Hi. Whe you're done, share page url, we can help easier 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment