Ash_B Posted November 16, 2023 Share Posted November 16, 2023 How do I add a 5th heading? I've spent 3 hours on this now! Trawling blogs etc. In 7.1FE. I have tried Markdown boxes but the formatting is horrible between desktop to phone. And the bold/italic trick but I can't get that to work. I just need my new H5 to be a version of my H1 heading, but to be in a smaller REM; everything else is the same. And to be able to insert my new H5 into a paragraph sections as well as independent. Thanks! (Why can't there be a standard offering of extra P's and H's? It seems nuts.) Link to comment
tuanphan Posted November 18, 2023 Share Posted November 18, 2023 You can use Code Block Something like this <div class="heading-8">This is heading 8</div> <div class="heading-7">Heading 7</div> <style> /* size on desktop */ .heading-8 { font-size: 80px !important; } .heading-7 { font-size: 70px !important; } /* size on mobile */ @media screen and (max-width:767px) { .heading-8 { font-size: 20px !important; } .heading-7 { font-size: 30px !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
Ash_B Posted November 20, 2023 Author Share Posted November 20, 2023 (edited) Thanks Tuanphan. Will try soon. Edited November 20, 2023 by Ash_B 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