Hi, certain of the css menu’s we’ve setup on this site are displaying correctly and certain are not. The homepage menu displays in times instead of the webfont “Frutiger”. I have applied the webfonts action to the menu and applied a style to the text within the menu. If I cut and paste a menu which displays correctly onto the homepage for instance, I cannot get the correct font (Frutiger) to display when previewed, what could be causing the conflict?
That’s correct, I have used Cinzel in the headers and Frutiger in all the CSS menus. I am setting up the font set in the correct way and then applying the web font action to the item and not the actual page. I create a style for the item as well and also set the style up with that font set. Is this not the correct method? Can one only have one web font per page?
All you need is, to make sure, that the web-font action is applied to ALL pages you want the FONTs to appear.
Another note:
Once you change something in your style, the action “looses” its attachments and you have to re-hook them in the action dialogue (not sure if the same happens by copy and paste).
Thanks Thomas, I have updated the action, as I had an older version. I now get a javascript error on publishing. The message reads “Font name has no properties” . I have applied the webfont action to any item which I want to use a particular font on. Just to verify, one cannot apply this action as a page action, it is an item action? My problem is something specific to the css menu, as the rest of the web fonts on all pages display as they should.
Hi Matt,
You will only need to apply the Action to one item on the page as other items will use the same font defined by the Action. I’m not sure why you are getting that error as I’ve tried the Action in both FW6 and 7 and it appears to be fine on both headline text and CSS menu items; https://dl.dropboxusercontent.com/u/795566/screenshots/webfonts.png
Create your font set and CSS style as you would normally and apply the style to the text in your CSS menu. Attach the Web Fonts Action to the CSS menu item and select the font set used. You can now associate the EOT and TTF/OTF files with this style and the Action will add the required CSS and upload the files for the page. If you need to apply the style to another block of text then don’t bother adding the Action again as the styles have already been added for this font.
If you can’t clear the Action error feel free to send me a copy of your freeway file and I’ll see what the issue could be.
Regards,
Tim.
On 18 Sep 2014, at 11:43, Matt Covarr wrote:
Thanks Thomas, I have updated the action, as I had an older version. I now get a javascript error on publishing. The message reads “Font name has no properties” . I have applied the webfont action to any item which I want to use a particular font on. Just to verify, one cannot apply this action as a page action, it is an item action? My problem is something specific to the css menu, as the rest of the web fonts on all pages display as they should.
Hi Tim, thanks for your response. I’ve used two fonts which are webfonts on each page, but they are in different text boxes, so have applied the action to the specific text boxes specifying the font to be used. I can’t seem to clear the javascript error. I have now created a blank page, stripped all other content and all other actions from it and published. I’ve then tried to apply the WebFonts action to new text box I created on the blank page and the action throws the error right away. I did download and update the Webfonts action earlier and am now running version 1.4.
Not at all. Save an archive of the Freeway site and either put it on Dropbox or similar and send me the link. If you need my contact details you can find them here; http://www.timplumb.com
Regards,
Tim.