cnmayfield96 Posted August 27, 2021 Share Posted August 27, 2021 Site URL: http://www.cassiemayfield.com Hi all! I'm trying to get a custom font added to the cover page of my site, but only for my title. The body and button can stay the same. I'm pretty new to coding (mostly just do copy paste formats). So when I change the font, it changes for everything not just the Title. Here's the code I'm using: <style> @font-face { font-family: The Bambank Script; src: url('https://static1.squarespace.com/static/584651fb2e69cfe01a34aef4/t/6113f83f385b3c55f34a7327/1628698687621/The+Bambank+Script.otf') format(opentype); } * { font-family: The Bambank Script !important; } </style> Yet it makes everything the font. Not just the Title. Anyone have any idea how to help? Link to comment
tuanphan Posted August 30, 2021 Share Posted August 30, 2021 Hi, Replace * with h1 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment