shannon-rose Posted September 3, 2021 Posted September 3, 2021 Site URL: https://roadrunner-star-7b6s.squarespace.com/ Hello! I've added some custom CSS to make the titles on list sections ("What kinds of tree restoration are we looking for") and ("How will the process work") to make them the same size as the h3 styling on other sections. However, when I view on tablet/mobile size, the custom headers stay large, and the actual h3's scale down a bit. How can I make it so that the custom CSS titles scale down accordingly? Thank you!! pass: fund
shannon-rose Posted September 3, 2021 Author Posted September 3, 2021 Here is the custom CSS I have currently, which works on desktop.
tuanphan Posted September 5, 2021 Posted September 5, 2021 Hi, h3 desktop - mobile uses different size, not same. h3 mobile is calc((2.2 - 1) * 1.2vh + 1rem) Use this code .list-section-title { font-family: Poppins !important; font-size: 2.2rem !important; font-weight: 500 !important; font-style: normal !important; line-height: 1.4em !important; letter-spacing: 0em !important; text-align: left !important; } @media screen and (max-width:767px) { .list-section-title { font-size: calc(~"(2.2 - 1) * 1.2vh + 1rem") !important; } } 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!)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.