Template talk:DragonFont

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search

CSS update needed[edit]

By browsing via "www.uesp.net", the dragon alphabet are not shown correctly, e.g. http://www.uesp.net/wiki/Lore:Dragon_Alphabet. It emitted a CORS error, since the font specified in CSS is coded as "http://en.uesp.net/w/extensions/DragonFont/dragon_script.ttf". The css should probably omit the domain name and use relative path instead. --Aflyhorse (talk) 08:24, 14 March 2016 (UTC)

Hmmm...this seems to be something with how the wiki software itself works. The CSS uses relative paths, but in the HTML header, it's using a cross-site link for the stylesheet. I tried changing the various stylesheet settings in the configuration file, but to no avail. It seems to be very determined to use "en.uesp.net" no matter what I do. I'll pass this along to the site owner and see if he has any ideas. Robin Hood  (talk) 18:59, 14 March 2016 (UTC)
This should be fixed now (may require a page reload/refresh). I added Access-Control-Allow-Origin headers for fonts to permit cross-site loading. -- Daveh (talk) 19:32, 14 March 2016 (UTC)
Yes, that did it, though I had to do a hard refresh rather than just a regular reload. Robin Hood  (talk) 20:14, 14 March 2016 (UTC)
Thanks you both. It works pretty good now. --Aflyhorse (talk) 08:59, 22 March 2016 (UTC)