Claire_auck Posted February 16, 2020 Share Posted February 16, 2020 I'm wondering if someone can help me to fix a padding issue. I have added a markdown box (with a H5 and H6). The text has a large gap between the headings and I'm wondering if there's any way to make the gap smaller? I've checked the Syntax cheat sheet but there's no help for this. https://khp-landing.squarespace.com/ The site password is 'pa33word' Thanks in advance :) Claire. Link to comment
tuanphan Posted February 16, 2020 Share Posted February 16, 2020 Add to Home > Design > custom CSS div#block-yui_3_17_2_1_1580760097902_10107 h5 { margin-block-start: 0 !important; } 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!) Link to comment
Claire_auck Posted February 28, 2020 Author Share Posted February 28, 2020 I totally missed this reply until now, so sorry! I've just tried the code but it doesn't work, I wonder if it's because I've made some changes since your reply? The markdown has 2 styles (H5 and H7), could this be part of the problem? Thanks so much Claire. Link to comment
tuanphan Posted February 28, 2020 Share Posted February 28, 2020 10 hours ago, Claire_auck said: I totally missed this reply until now, so sorry! I've just tried the code but it doesn't work, I wonder if it's because I've made some changes since your reply? The markdown has 2 styles (H5 and H7), could this be part of the problem? Thanks so much Claire. I don't see Say Hellow now...Can you share link to that? 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!) Link to comment
Claire_auck Posted March 10, 2020 Author Share Posted March 10, 2020 Hey. Sorry I've been away, on catch up now. The landing page website is now live https://www.khp.nz/ I have the issue on the home page banner, here's that's copied into the markdown box <h4> PROPERTY CONSULTANT & PROJECT MANAGER</h4> <h7>Manawatū-Whanganui Region <h/7> I played around with the block id and H tag, it removes the gap above the first title but not between the first and second title. I don't understand code enough to correct this and I'm sure it'll be a silly mistake and an expert like you will know 😉 Link to comment
Claire_auck Posted April 2, 2020 Author Share Posted April 2, 2020 Hi @tuanphan Do you know if there is a CSS rule that reduces the height (above and below) all markdown blocks sitewide? It's a re-occurring problem that drives me nuts. Cheers Claire. Link to comment
tuanphan Posted April 3, 2020 Share Posted April 3, 2020 4 hours ago, Claire_auck said: Hi @tuanphan Do you know if there is a CSS rule that reduces the height (above and below) all markdown blocks sitewide? It's a re-occurring problem that drives me nuts. Cheers Claire. .markdown-block { padding-top: 0 !important; padding-bottom: 0 !important; } 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!) Link to comment
Claire_auck Posted April 3, 2020 Author Share Posted April 3, 2020 25 minutes ago, tuanphan said: .markdown-block { padding-top: 0 !important; padding-bottom: 0 !important; } Brilliant....thank you so so so much, you are amazing!!!! Link to comment
brandonhendrickson Posted April 28, 2020 Share Posted April 28, 2020 I'm having the same problem, but putting the CSS in doesn't seem to fix it. (Maybe it's because I'm using SS 7.1?) I've made a special page to highlight this — both sections are using H1, and are vertically-center-aligned: scienceisweird.com/markdown-padding Any notions? Much thanks if you do! Run a test-prep company, and a group where little kids get together to make brunch and talk philosophy. Starting a school. Link to comment
Kacia Posted November 15, 2020 Share Posted November 15, 2020 On 4/28/2020 at 6:29 PM, brandonhendrickson said: I'm having the same problem, but putting the CSS in doesn't seem to fix it. (Maybe it's because I'm using SS 7.1?) I've made a special page to highlight this — both sections are using H1, and are vertically-center-aligned: scienceisweird.com/markdown-padding Any notions? Much thanks if you do! I know this is old but just in case this is helpful to anyone in the future, I reduced the space beneath the markdown block by also adjusting the margin (also using SS 7.1): .markdown-block { margin-bottom: -20px !important; padding-bottom: 0px !important; } Thanks to tuanphan for your answer, which helped me arrive at this fix! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.