Tagged: icons, not visible
-
AuthorPosts
-
April 25, 2017 at 11:11 am #782738
All fontello icons are missing from my current site. Interestingly they were visible during development of the site. I recently changed some settings to repoint the server to the live domain url and since then the live site have not shown the icons.
Most browsers tested so far (IE, Chrome) display blank squares or nothing, while Firefox shows case squares with unknown signs inside. Safari seems to work fine.
I noticed a 404 (Not Found) status on the fontello file paths. I checked the paths via FTP and the files are there so I wondering has the redirect caused some confusion.
I have seen earlier discussions in this forum (i.e. april 2015). with the suggestion of adding the line $fstring = str_replace(‘http:’,”, $fstring); to the font-manager.class.php. My problem, however, is that I have no idea where to insert this line.April 26, 2017 at 6:00 am #783235Hey benmulder,
Could you post a link to the site in question so that we can take a closer look please?
Best regards,
RikardApril 26, 2017 at 8:28 am #783321Thanks, Rikard,
The site address is: InGasteren.nl
Best regards, Ben Mulder.
April 27, 2017 at 5:01 am #783767Hi,
Thanks for that, could you try following this please? http://kriesi.at/documentation/enfold/enable-cors/
Best regards,
RikardApril 27, 2017 at 8:49 am #783867Dear Rikard,
Thanks for the suggestion.
I have tried this before and tested it now again. Unfortunately it does not solve the problem.Best regards, Ben
April 30, 2017 at 5:14 am #785171Hi Ben,
Thanks for the feedback. It looks like the icon font is being blocked by the browser since it’s being loaded from a different domain, please see private. Did you install WordPress in a different folder that the root?
Best regards,
RikardApril 30, 2017 at 9:02 am #785210Hi Rikard,
Indeed, I installed WordPress in a subfolder from the root, as indicated in ‘private’.
In earlier discussions it was suggested that this issue in such a case could be resolved by adding the line $fstring = str_replace(‘http:’,”, $fstring); to the font-manager.class.php. My problem, however, is that I have no idea where to insert this line.Best regards, Ben.
May 1, 2017 at 8:47 am #785584Hi Ben,
Ok, thanks for the feedback. I’m not sure about that solution, I’ve never tried it myself. Though if you want my personal opinion then I would recommend that you remove the old CMS if you are not using it, then move the WordPress installation to the root. You might get other problems like this in the future otherwise.
Best regards,
RikardMay 4, 2017 at 10:43 am #787690Hi Rikard,
Thanks for the suggestion and the answers on my questions.
I re-aranged our (sub-)domains and moved the WordPress installation to the root.
All problems with respect of the icon-fonts are solved now.Best regards, Ben.
May 4, 2017 at 1:29 pm #787796Hi Ben,
Great, I’m glad to hear that. Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
RikardMay 4, 2017 at 1:34 pm #787804Hi Rikard,
many thanks, once again.
The topic can be closed.Best regards, Ben.
May 4, 2017 at 3:15 pm #787851Hi Ben,
That would be nice :)
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.