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.
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
Question
Alexg77 15
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 post
Top Posters For This Question
2
1
1
Popular Days
Dec 21
1
Dec 22
1
Jan 2
1
Jan 4
1
Top Posters For This Question
Alexg77 2 posts
stressbunny 1 post
tuanphan 1 post
Popular Days
Dec 21 2020
1 post
Dec 22 2020
1 post
Jan 2 2021
1 post
Jan 4 2021
1 post
Popular Posts
stressbunny
CSS? p2 h3 { margin-top: 0px; }
tuanphan
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
Posted Images
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment