I went through a great deal to find the perfect font for a landing page I’m trying to build. Now that I’ve downloaded and installed the font on my laptop, I’d like to know how to use it with BB.
I’m using the plugin in combination with the Genesis Framework and a StudioPress child theme. And I really hope you can help me with this.
Thanks for posting! It’s not going to be that simple since you’ll have to assign the fonts via CSS. If you know a bit of CSS then it won’t be a problem. First of all, you need to upload the font to your site and add it using @font-face. Or you could use the plugin below. I haven’t tried it but based on the description, you can use it to upload any fonts. https://wordpress.org/plugins/use-any-font/
Once that is out of the way, you can then assign the font to your elements like so…
Just one more question to really have this all set and going…
I’d like to use my custom font for all h1, h2 and h3 elements on one page only so that the page I’m building with BB shows those elements in my custom font and all other pages are using the font of the Genesis child theme I’m using. Is that possible? And do you know how I can achieve that?
That should be possible, but again a bit tricky. Each page has a unique body class page-id-{ID}. You can get the ID on the page/post list on the wp-admin. If you hover over or click on the page/post title, it’s the number in the url after post=. You just need to get that body class, then target the elements. If the ID of the page is 100, the CSS will look like so…