nikkir Posted June 5, 2023 Share Posted June 5, 2023 Hi, The background image for the first section of my home page is sitting behind the header making it appear cut off. I'm wondering if there is a way to fix this so it sits just in its section. Thanks, Nikki Link to comment
tuanphan Posted June 9, 2023 Share Posted June 9, 2023 Hi, You can add a blank section above it > Then choose minimum height TenjiDigital 1 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
nikkir Posted June 10, 2023 Author Share Posted June 10, 2023 @tuanphan Thanks for the reply. That works, but now my header is double the size! Do you know any other ways around it? Thanks. Link to comment
johnhalldesign Posted June 10, 2023 Share Posted June 10, 2023 Always struggled with this too, but I think I found the solution. Following the suggestion from @tuanphan above, I added a blank section above it, told it minimum height , and reduced the the minimum number of blocks to 1. That got it pretty small but still added to the height of my header. So I found the ID of the section (There's a nifty browser plugin I found somewhere that lets you easily identify section IDs, Then in the custom CSS area I gave it a height: 0 code. So: section[data-section-id="FIND ID NUMBER"] { height: 0; } So far seems to work like a charm. tuanphan and addisonpann 1 1 Link to comment
addisonpann Posted December 1, 2023 Share Posted December 1, 2023 On 6/10/2023 at 11:37 AM, johnhalldesign said: section[data-section-id="FIND ID NUMBER"] { height: 0; } So far seems to work like a charm. I tried this to no avail. Site URL: https://addisonpann.com/greenslate Any idea why? Link to comment
tuanphan Posted December 2, 2023 Share Posted December 2, 2023 8 hours ago, addisonpann said: I tried this to no avail. Site URL: https://addisonpann.com/greenslate Any idea why? You need to unset default height with min-height section[data-section-id="656a24b505e3c8250155f597"] { height: 0 !important; min-height: unset !important; padding-top: 0 !important; } By default, first section has a default padding, so padding-top will remove this 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment