@font-face fonts not showing up

Curiously, I had @font-face working for a while then suddenly it's not.


All the headers should be in a Vintage font. I'm using a pexeto theme and I added the @font-face to the "Additional Styles" section so they styles are in the head of the document as well as the stylesheet.

Can anyone see why the fonts are no longer showing up?

Alicia St RoseOwner & Principle Developer/DesignerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David S.Commented:
You're using the same path for both places, but it's a relative path, so it's correct from the external stylesheet but not the embedded one.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Alicia St RoseOwner & Principle Developer/DesignerAuthor Commented:
So I need to use direct URL in the embedded.
Alicia St RoseOwner & Principle Developer/DesignerAuthor Commented:
I got rid of the embed styles and just relied on stylesheet and it works. But, if the theme is updated that will disappear. How would I wrangle this as an embed?
David S.Commented:
You don't have to use the full URL. You can use a web-root relative URL instead. It starts with a slash: "/wp-content/themes/story/webfonts/2DA015_0_0.eot"
Alicia St RoseOwner & Principle Developer/DesignerAuthor Commented:
Okay, gave this a shot, but it didn't work. Only because I think I forgot the slash!!

No access back to the site at the moment, we just left it in theme's CSS and will plop it back in when the theme updates.

I'm going to try it out on a test site. But since you're always giving the right solution, I feel like just giving you the points straight away!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Fonts Typography

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.