angelaw Posted January 25, 2022 Posted January 25, 2022 Hello, I have a custom font I want to use for my H1, but it's too stylized to use for the all letters/words. Is there a way to target only the capital letters or lowercase letters of an H1? Thanks!
Solution tuanphan Posted January 26, 2022 Solution Posted January 26, 2022 Replace h1 text with Code Block <h1><span style="font-family:monospace;">H</span>eading 1 example</h1> angelaw 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!)
angelaw Posted January 26, 2022 Author Posted January 26, 2022 That worked perfectly @tuanphan - thank you so much!!
angelaw Posted January 26, 2022 Author Posted January 26, 2022 @tuanphan Do you know what I could add to center the whole line too? Thanks!
tuanphan Posted January 28, 2022 Posted January 28, 2022 On 1/27/2022 at 2:17 AM, angelaw said: @tuanphan Do you know what I could add to center the whole line too? Thanks! use this <h1 style="text-align:center;"><span style="font-family:monospace;">H</span>eading 1 example</h1> angelaw 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!)
tuanphan Posted January 28, 2022 Posted January 28, 2022 or use this <center><h1><span style="font-family:monospace;">H</span>eading 1 example</h1></center> 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!)
angelaw Posted January 28, 2022 Author Posted January 28, 2022 12 hours ago, tuanphan said: use this <h1 style="text-align:center;"><span style="font-family:monospace;">H</span>eading 1 example</h1> Thank you so much @tuanphan!!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment