AnnaTarzan Posted March 26, 2020 Share Posted March 26, 2020 Site URL: https://www.kvinnohistoriska.se/aktuellt Hi all! I'm stuck at a problem when working on one of my sites. The page banner text size is for some reason tiny in mobile view, and I can't seem to come up with, or find, code to help. The banner image (which is just a .png in the color I want as background) is also way too high, I would like the text to be much bigger but the banner much shorter. https://www.kvinnohistoriska.se/aktuellt I've tried this code below but it doesn't work, even if it works for changing color, font etc. Just not the size. @media screen and (max-width: 960px) { .desc-wrapper p>strong, .desc-wrapper p>em>strong { font-size: 37px; } } I would really appreciate some help ❤️ Link to comment
AnnaTarzan Posted March 26, 2020 Author Share Posted March 26, 2020 By the way, I use the Bedford template if it makes a difference. Link to comment
tuanphan Posted March 27, 2020 Share Posted March 27, 2020 Add to Page Settings > Advanced > Header <style> @media screen and (max-width:640px) { .desc-wrapper p { font-size: 50px !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
AnnaTarzan Posted March 27, 2020 Author Share Posted March 27, 2020 Thanks tuanphan, I added code for the bold text, removed <style> and added it to Custom CSS to get it site-wide and now it works perfectly. @media screen and (max-width:640px) { .desc-wrapper p, p>strong, .desc-wrapper p>em>strong { font-size: 50px !important; } } Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.