Tagged: @font-face, portfolio grid
-
AuthorPosts
-
February 17, 2015 at 3:14 pm #397534
HI
A few questions:
I am updating a site that uses fontface with a font called Citizen. I reset the url, but am not seeing the font displaying, even though it is tagged correctly. Can you help me with this? Check the page below where it says THIS IS MY LAND – should be Citizen font. It’s confusing since I didn’t build the site – it was done by a programmer on another theme, and he seems to have lots of custom stuff going on.
my font face css is:@font-face{ font-family: ‘Citizen’; src: url(‘http://www.theunsteadyproblem.com/test/font/citizen-light.eot’); src: url(‘http://www.theunsteadyproblem.com/test/font/citizen-light.eot?#iefix’) format(’embedded-opentype’), url(‘http://www.theunsteadyproblem.com/test/font/citizen-light.woff’) format(‘woff’); }
@font-face{ font-family: ‘Citizen Bold’; src: url(‘http://www.theunsteadyproblem.com/test/font/citizen-bold.eot’); src: url(‘http://www.theunsteadyproblem.com/test/font/citizen-bold.eot?#iefix’) format(’embedded-opentype’), url(‘http://www.theunsteadyproblem.com/test/font/citizen-bold.woff’) format(‘woff’); }
Also, on this page: http://www.cjff.dk/portfolio-test/ I am trying to recreate a similar look in enfold. I don’t mean the animation or overlay, but the photo/date/title/except. What is the best way to do this? I know I can to a masonry gallery and manually add the links to the films pages, and then can have the title/except, but it’s done as an overlay instead of below the photo. Can I get a similar look in one of the portfolio grid options? Is it possible to get an extra line above the title for the date, as on that page?
so many questions…
thanks, Nancy- This topic was modified 9 years, 7 months ago by Munford.
February 18, 2015 at 12:16 pm #398036Hi Munford!
Thank you for using Enfold.
You have this error on the console:
Font from origin 'http://www.theunsteadyproblem.com' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://test.theunsteadyproblem.com' is therefore not allowed access.
Try to fix it with this: http://www.fontsquirrel.com/blog/2010/11/troubleshooting-font-face-problems
Regards,
IsmaelFebruary 18, 2015 at 7:11 pm #398396Thanks Ismael – I used the Use Any Font plugin and it worked like a charm. Is there any reason to use the @fontface rule instead of that?
February 19, 2015 at 6:26 am #398658 -
AuthorPosts
- You must be logged in to reply to this topic.