ReganA Posted March 9, 2022 Share Posted March 9, 2022 Site URL: http://www.found-hired.com I have unnecessary spacing between the header and the first section of the page across the whole site. I thought it could be something to do with the image on the front page but I get the same result every time. I have also tried to use some coding to remove the space but haven't found anything that works. I'm not even sure what's causing this issue. Any help would be greatly appreciated! I have attached photos for you to see Link to comment
Solution Jia Posted March 9, 2022 Solution Share Posted March 9, 2022 1 hour ago, ReganA said: Site URL: http://www.found-hired.com I have unnecessary spacing between the header and the first section of the page across the whole site. I thought it could be something to do with the image on the front page but I get the same result every time. I have also tried to use some coding to remove the space but haven't found anything that works. I'm not even sure what's causing this issue. Any help would be greatly appreciated! I have attached photos for you to see Hi, add this code to custom css and let me know how it goes 🙂 main .page-section:first-child { padding-top: 0px !important; } ReganA and LeauxFi 2 Please give this a 👍 if it helps. Make sure to quote me or tag me in your reply, otherwise I won't be notified. www.sevenstars.studio www.instagram.com/sevenstars.studio Link to comment
ReganA Posted March 9, 2022 Author Share Posted March 9, 2022 47 minutes ago, Jia said: Hi, add this code to custom css and let me know how it goes 🙂 main .page-section:first-child { padding-top: 0px !important; } This worked! Thank you so much! Jia 1 Link to comment
addisonpann Posted November 30, 2023 Share Posted November 30, 2023 On 3/9/2022 at 5:23 AM, Jia said: Hi, add this code to custom css and let me know how it goes 🙂 main .page-section:first-child { padding-top: 0px !important; } I added your code to my site, and it's a step in the right direction, but it isn't quite right. It hides a portion of my first section's image under the header. Any idea why that would be? https://addisonpann.com/greenslate Link to comment
tuanphan Posted December 3, 2023 Share Posted December 3, 2023 On 12/1/2023 at 3:46 AM, addisonpann said: I added your code to my site, and it's a step in the right direction, but it isn't quite right. It hides a portion of my first section's image under the header. Any idea why that would be? https://addisonpann.com/greenslate Use this section[data-section-id="656a24b505e3c8250155f597"] { height: 0 !important; min-height: unset !important; } addisonpann 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
prettymoodswings_ Posted February 11 Share Posted February 11 How do I change the spacing between header and page using code: but for individual pages not across the whole site? main .page-section:first-child { padding-top: 0px !important; } Link to comment
tuanphan Posted February 12 Share Posted February 12 On 2/11/2024 at 7:57 AM, prettymoodswings_ said: How do I change the spacing between header and page using code: but for individual pages not across the whole site? main .page-section:first-child { padding-top: 0px !important; } Edit that page > Add a Code Block (anywhere on page) > Use this code <style> article>section:first-child { padding-top: 10px !important; } </style> 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