robinnorth Posted December 29, 2022 Share Posted December 29, 2022 I am transitioning a client's site from 7.0 to 7.1 and am almost finished. I put in their script (Code Injection for site) for their advertising that worked fine in 7.0 but in 7.1 it displays behind the semi-transparent header. Any clue as to why it is happening or how to remedy it? Link to comment
tuanphan Posted December 30, 2022 Share Posted December 30, 2022 Hi, What is site url? 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
robinnorth Posted December 30, 2022 Author Share Posted December 30, 2022 Still in the works but ss built-in domain is : cuboid-parrotfish-f32r.squarespace.com Link to comment
robinnorth Posted December 30, 2022 Author Share Posted December 30, 2022 I am wondering if I can target the element for the header background and reduce the top padding to allow the ad to show? Link to comment
Solution tuanphan Posted January 1, 2023 Solution Share Posted January 1, 2023 Add to Design > Custom CSS header#header:not(.shrink) { margin-top: 80px; } 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
robinnorth Posted January 1, 2023 Author Share Posted January 1, 2023 Thank you! That worked great! Link to comment
robinnorth Posted January 1, 2023 Author Share Posted January 1, 2023 One more item... it does not display properly in mobile. How would I change the mobile setting? Link to comment
robinnorth Posted January 1, 2023 Author Share Posted January 1, 2023 I think I figured it out... display of header and ad// @media only screen and (max-width: 640px) {header#header:not(.shrink) { margin-top: 50px; }} tuanphan 1 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