-
AuthorPosts
-
November 18, 2014 at 8:53 am #147622
Hi Caity,
Upon checking, it seems you haven’t added the code in your child theme’s style.css file, provided in our first response (see: http://prntscr.com/57mnpg).
Please add the font using the code provided and you should be able to use the font in the customizer.
Thanks!
November 18, 2014 at 11:59 am #147767Hey!
Thank you for the help. It looks like I had added the css code in the wrong section. I added it in the correct section, I updated the CSS code in customizer and added the code to the VC style inline option. Any other ideas?
Thank you!
November 18, 2014 at 7:27 pm #148035Hey Caity,
Would it be ok if you give us all the steps you took and details about what font and where exactly you placed them so we can easily see why the font doesn’t work?
Thanks.
November 19, 2014 at 2:45 pm #148703OK so I downloaded the font which is called BombshellPro, I placed the font files in webroot/WP-Content/Themes/X-Child-Icon/Fonts (I created the Fonts folder)
I have a .woff, .ttf, .eot and .wof2 file in the folder for the BombshellPro font
I reached out to you guys and placed the code in my style.css, added the additional code into customizer and then placed the code into my content.
November 19, 2014 at 2:45 pm #148704Thank you 🙂
November 20, 2014 at 3:11 am #149014You’re welcome. 🙂
November 20, 2014 at 11:29 am #149328Do you have any ideas on why it might not be working?
November 21, 2014 at 5:01 am #149782Hi Caity,
Please replace the code in your child theme style.css to this.
@font-face { font-family: 'BombshellPro'; src: url('Fonts/BombshellPro.eot'); src: url('Fonts/BombshellPro.eot?#iefix') format('embedded-opentype'), url('Fonts/BombshellPro.woff') format('woff'), url('Fonts/BombshellPro.ttf') format('truetype'), url('Fonts/BombshellPro.svg#svgFontName') format('svg'); }
Thanks
November 21, 2014 at 8:34 am #149899Ahh It’s still not working 🙁
Any ideas?
November 21, 2014 at 8:34 am #149900I’m specifically trying to change it for headlines.. maybe that has something to do with it?
November 22, 2014 at 2:25 am #150349Hi there,
Please try to add this in CSS:
@font-face { font-family: 'BombshellPro'; src: url('Exact path to font folder/BombshellPro.eot'); src: url('Exact path to font folder/BombshellPro.eot?#iefix') format('embedded-opentype'), url('Exact path to font folder/BombshellPro.woff') format('woff'), url('Exact path to font folder/BombshellPro.ttf') format('truetype'), url('Exact path to font folder/BombshellPro.svg#svgFontName') format('svg'); }
And add this to assign this font to Headlines.
.h-custom-headline{ font-family: 'BombshellPro'; }
Hope it helps.
November 22, 2014 at 4:34 pm #150639OK so it’s working in the sense that it’s changing the font so I’m pretty sure all of the cose is correct and working. It’s just not changing it to the font that I have downloaded, it looks like it’s just putting in a default font instead. Do you think there is something wrong with the font file? Is there anyway to test that?
Thanks!
CaityNovember 23, 2014 at 9:22 am #151013Hi there,
Instead of ‘Exact path to font folder’put the font path of your font folder for example :
http://flowersbykatydid.com/wp-content/themes/your child theme or theme /folder where you added fonts/
.Hope i made it clear.
Thank you.
November 23, 2014 at 4:43 pm #151146OMG! It worked. I LOVE YOU!!!
THANK YOU!
November 24, 2014 at 2:34 am #151385You’re welcome!
-
AuthorPosts