Forum Replies Created
-
AuthorPosts
-
March 10, 2014 at 10:23 am in reply to: Social Icons (Fontello) not working in Firefox, Enfold 2.5.4 #234588
Strange, it does not work on our multisite (perhaps we use /…/ for our sites, instead of subdomains?).
Also replacing the font-set fix did not work for us, still no icons on Firefox (also not after empyting all W3 caching).
Note: Just did a clean upload of Enfold 2.5.4, still the same issue on Firefox!
- This reply was modified 10 years, 9 months ago by robinwo.
March 8, 2014 at 1:45 pm in reply to: Social Icons (Fontello) not working in Firefox, Enfold 2.5.4 #234170That’s done for a reason, safely updating theme (and child theme) versions.
An (older) version of the theme is available in the /enfold/ folder, all font files can still be downloaded from this folder (for example http://robinhq.com/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/fonts/entypo-fontello.eot). So the font files are available, independent from this theme dir (and as stated before, it does work in Chrome and Safari).
Note that there’s also a bug in this theme on WordPress multisites: urls to font files are based on $this->paths[‘baseurl’]. In a multisite, this baseurl is the site’s url, while this should be the network site’s url (https://codex.wordpress.org/Function_Reference/network_site_url).
- This reply was modified 10 years, 9 months ago by robinwo.
Guess we’re talking about the same issue here: https://kriesi.at/support/topic/social-icons-fontello-not-working-in-firefox-enfold-2-5-4/
March 6, 2014 at 6:25 pm in reply to: Social Icons (Fontello) not working in Firefox, Enfold 2.5.4 #233336Done, did not solve the problem. Also, adding this htaccess code, removing all W3TC htaccess code & emptying caches did not fix this.
Fonts are included correctly:
<style type=’text/css’>
@font-face {
font-family: ‘entypo-fontello’; font-weight: normal; font-style: normal;
src: url(‘http://robinhq.com/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/fonts/entypo-fontello.eot’);
src: url(‘http://robinhq.com/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/fonts/entypo-fontello.eot?#iefix’) format(’embedded-opentype’),
url(‘http://robinhq.com/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/fonts/entypo-fontello.woff’) format(‘woff’),
url(‘http://robinhq.com/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/fonts/entypo-fontello.ttf’) format(‘truetype’),
url(‘http://robinhq.com/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/fonts/entypo-fontello.svg#fontello’) format(‘svg’);
}
.avia-font-entypo-fontello{ font-family: ‘entypo-fontello’; }
</style>Note: this code is shown twice in our <head /> section. We needed to add this code manually, as the font did not load correctly on subsites on our multisite: urls to the font files were generated based on subsite url (not correct url to font file), instead of network site url (correct url to font file).
- This reply was modified 10 years, 9 months ago by robinwo.
March 6, 2014 at 3:29 pm in reply to: Social Icons (Fontello) not working in Firefox, Enfold 2.5.4 #233200Flushed the cache, also my browser cache, this did not solve the problem. Still the same issue with Enfold/Fontello in Firefox (while it does work in Safari & Chrome).
-
AuthorPosts