Alexg77 Posted December 21, 2020 Share Posted December 21, 2020 Site URL: https://apple-drum-7nk8.squarespace.com/perspectives I created a code injection to style two different font types and colors within a single text box, so to speak. In demo mode, it's working perfectly, but for some reason when I test the live version of the site, there's an extra line break appearing between the orange number and the title text (see screen grabs for reference). Within my html code injection, how can I either reduce the vertical space of the line break, or minimize the line height between the number and the chapter title. The first screengrab (in demo mode) shows how I want the live version (see second screengrab) to function. Site page: https://apple-drum-7nk8.squarespace.com/perspectives Password: p3akt3ch My HTML code injection: <span style = "p2"> <p2 style="color:#f95624"> 01. <h3>Build Your Story</h3> Link to comment
stressbunny Posted December 22, 2020 Share Posted December 22, 2020 CSS? p2 h3 { margin-top: 0px; } Link to comment
tuanphan Posted January 2, 2021 Share Posted January 2, 2021 Hi. H3 has default padding. Add this to Design > Custom CSS .code-block h3 { margin-top: 0; } I see on mobile, overlay menu items overlap together. You can check. If you need to fix, we will give the code @Alexg77 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
Alexg77 Posted January 4, 2021 Author Share Posted January 4, 2021 @tuanphanIt works, thank you! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.