Tagged: x
-
AuthorPosts
-
February 25, 2017 at 3:32 pm #1385645
happydogsnycParticipantMy site is happydogsnyc.com/hd_504
I’ve added some custom font files in the happydogsnyc.com/hd_504/wp-content/fonts folder.
In the X Theme “Additional CSS” section, I’ve added:
@font-face {
font-family: “Archer”;
src: url(“wp-content/fonts/Archer-Bold-Pro.ttf”) format(“truetype”);
}h2 {
font-family: “Archer”;
}`However, my h2 headings still show up with what is set in the Typography section, not my custom font.
NOTE: If you check a page, e.g. happydogsnyc.com/hd_504/baths, you will see I’m playing around with different heading styles, e.g. h4. The problem is the same, if I use h4 and set h4 to Archer via css (i.e. h4 instead of h2 in the snippet above), I don’t see Archer, I see whatever heading font is set in the Typography section.
February 25, 2017 at 11:29 pm #1385919
RadModeratorHi there,
Thanks for writing in. It should be like this
@font-face { font-family: "Archer"; src: url("http://www.happydogsnyc.com/hd_504/wp-content/fonts/Archer-Bold-Pro.ttf") format("truetype"); } h2 { font-family: "Archer" !important; }Thanks!
February 26, 2017 at 9:51 am #1386227
happydogsnycParticipantThanks, works! You guys have super support, really appreciate it.
February 26, 2017 at 10:21 am #1386255
RupokMemberYou are welcome!
Glad that it helped. Feel free to let us know if you face any other issue. We’ll be happy to assist you.
Thanks for using X.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1385645 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
