Digital experiences for all disciplines
Forum Replies Created
-
Posted in: We hit Power Elite.
-
i updated to 1.2 and this now works
Yea, actually taking out those lines does allow you to select the font from the admin. but the font’s don’t actually load from google fonts on the website. I have no clue why. It’s regestering them as being set for the element, but it’s not actually loaded by the website.
This is really disappointing. I don’t understand why this doesn’t work. Having a great font selection is really important. the front-end of the site drops everything to sans-seif if you try to use a google font through the admin. Is there anyway to fix this? do you have an example of this theme working with google fonts somewhere?
The plugin that’s breaking is called jquery.fontselect.js. if you use google chrome and go to the console inspector, you’ll see it’s throwing an error on line 20 of that file which is located in the dante theme here: (dante/includes/options/fields/google_webfonts/jquery.fontselect.js)
I just deleted line 20 through 27 of that function:
if (font[1].indexOf(“italic”) >= 0) {
style = “italic”;
}// set family on example
jQuery(‘#’ + relid + ‘.example’).css(‘font-family’, font[0]);
jQuery(‘#’ + relid + ‘.example’).css(‘font-weight’, weight.replace(‘italic’,”));
jQuery(‘#’ + relid + ‘.example’).css(‘font-style’, style);That let me select the font. but it didn’t seem to allow that font to be displayed on the front end. I didn’t spend a lot of time trying to fix it. But hopefully that helps. let me know if you can get the fonts working on the front end with that.
It looks like the jquery font plugin is throwing an error. It’s really disappointing, this is something that is actually really holding me back right now. I’m not sure how updates are done with this, but this is a really big deal for me and the google font support was one of the reasons i purchased the theme.
I was able to hack it so that the selector worked, but even then the fonts are not pulled in properly the the theme. Hugely disappointing. Is there any timeline on when/how this will be fixed?
-
Posted in: We hit Power Elite.