Swooziemoonshoe Posted November 2, 2023 Posted November 2, 2023 Any help greatly appreciated, I've been trying to change the h1 font to Adobe Handwriting Ernie (it's already used elsewhere in my site) on my Course Overview Page (hoping it will translate to the titles on other pages of the course). I don't want to make the sitewide change for all h1. I've put the following code into the course settings' header code injection box - h1, h1 * { font-family: "adobe-handwriting-ernie" !important; } Help? R 🙂
Solution tuanphan Posted November 4, 2023 Solution Posted November 4, 2023 With code in Code Injection, you need to wrap in style tag <style> h1, h1 * { font-family: "adobe-handwriting-ernie" !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!)
Swooziemoonshoe Posted November 5, 2023 Author Posted November 5, 2023 Amazing. Thanks so much, works a charm!
well_hello_jamie Posted April 2 Posted April 2 Related question: I'd like to adjust the font size of my course title to better accommodate mobile view (the current title is splitting the first word in mobile) without changing overall h1 style for my site. Would love to know EITHER: A: How to reduce course title font size B: How to adjust for mobile responsiveness ...any thoughts appreciated! THANK YOU
tuanphan Posted April 5 Posted April 5 On 4/3/2024 at 1:41 AM, well_hello_jamie said: Related question: I'd like to adjust the font size of my course title to better accommodate mobile view (the current title is splitting the first word in mobile) without changing overall h1 style for my site. Would love to know EITHER: A: How to reduce course title font size B: How to adjust for mobile responsiveness ...any thoughts appreciated! THANK YOU You can share link to page where we can see course title, we can give you code to do these easier 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!)
well_hello_jamie Posted April 5 Posted April 5 (edited) @tunaphan - thanks for your help! The page is: https://www.jamiephillips.coach/reset-beta Edited April 5 by well_hello_jamie
tuanphan Posted April 7 Posted April 7 On 4/6/2024 at 4:22 AM, well_hello_jamie said: @tunaphan - thanks for your help! The page is: https://www.jamiephillips.coach/reset-beta You can use this CSS code h1.course-list__course-name.course-list__header-content { font-size: 38px !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!)
well_hello_jamie Posted April 8 Posted April 8 @tunaphan - thank you! That did allow me to adjust header font size but I'm still getting a weird word-split in mobile view... will keep experimenting. Thanks!
tuanphan Posted April 13 Posted April 13 On 4/9/2024 at 4:18 AM, well_hello_jamie said: @tunaphan - thank you! That did allow me to adjust header font size but I'm still getting a weird word-split in mobile view... will keep experimenting. Thanks! Can you take a screenshot of problem? 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!)
well_hello_jamie Posted April 25 Posted April 25 @tunaphan sorry for the delayed reply on this. That code *does* modify the course title but, if it's small enough not to break the word "revolutionary" in mobile view, the title font size looks weirdly small on desktop. This might be wishful thinking, but is there a way to scale for mobile only view? (Or another solution?) THANK YOU!
tuanphan Posted April 27 Posted April 27 On 4/7/2024 at 5:15 PM, tuanphan said: You can use this CSS code h1.course-list__course-name.course-list__header-content { font-size: 38px !important; } To apply it for mobile only, use this CSS code @media screen and (max-width:767px) { h1.course-list__course-name.course-list__header-content { font-size: 30px !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
Create an account or sign in to comment
You need to be a member in order to leave a comment