keon Posted February 19, 2020 Share Posted February 19, 2020 Site URL: https://sprout-tuna-swnf.squarespace.com I want the top of my footer to be a different colour to the rest of it. How do I remove the padding so the orange goes right across the width of the page and doesn't show any of the grey at the top? I already tried this: .Footer-inner{ padding: 0px } but when I do that it leaves a line along the side of the whole page (see attached). Please could someone help?? Link to comment
tuanphan Posted February 20, 2020 Share Posted February 20, 2020 Add to Home > Design > Custom CSS @media screen and (min-width:901px) { .Footer-inner { padding-left: 0; padding-right: 0; } .Footer-inner>div:not(:first-child) { padding-left: 125px; padding-right: 125px; } } 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
keon Posted February 21, 2020 Author Share Posted February 21, 2020 Thanks. That works on desktop but not on mobile. I'm assuming this is because of the @media screen and (min-width:901px) you added in? It works when I don't include that part but will leaving it out cause other issues? Link to comment
tuanphan Posted February 21, 2020 Share Posted February 21, 2020 2 minutes ago, keon said: Thanks. That works on desktop but not on mobile. I'm assuming this is because of the @media screen and (min-width:901px) you added in? It works when I don't include that part but will leaving it out cause other issues? above code runs only desktop. Mobile needs different code 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
keon Posted February 21, 2020 Author Share Posted February 21, 2020 Thanks. I've added in the code and adjusted the padding for tablet and mobile. 👍 Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.