Guest Posted October 5, 2023 Posted October 5, 2023 Hey there, URL: social-eclipse.com I am trying to increase the size of an h1 text so that it is more legible, however when I insert the following CSS, the result I get is that the size of the text box changes and hence the text moves downwards rather than size of the font changing: #block-yui_3_17_2_1_1696230990285_3371{ font-size: 125px } Mind you, the same CSS does have the desired effect on all other texts on my website. I attached a before and after screenshot in case my explanation wasn't clear enough. Thanks for the feedback!
tuanphan Posted October 7, 2023 Posted October 7, 2023 If your text is H1, use this code #block-yui_3_17_2_1_1696230990285_3371 h1{ font-size: 125px !important } M-Saleck 1 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!)
Guest Posted October 7, 2023 Posted October 7, 2023 It solved the font size issue so thanks for that! However, now I can't manipulate it by dragging the text box (e.g.: Linebreak by decreasing the length of the text box - and this makes it look awful on mobile). Any recommendation for this? Thank you!!
tuanphan Posted October 9, 2023 Posted October 9, 2023 Did you solve? It looks fine to me, no text overflow screen 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
Create an account or sign in to comment
You need to be a member in order to leave a comment