My forum: http://www.1000sunny.net/
ver: phpbb3
I add some font from google font to my forum following this tip
The JS using in my page is
It did succeed adding font to forum, but it caused another big problem, it disable many other Javascript code such as these
https://help.forumotion.com/t133635-display-the-avatar-of-a-member-on-the-toolbar
https://help.forumotion.com/t144004-add-twitter-emoji-to-the-editor
https://help.forumotion.com/t140086-how-to-install-and-use-font-awesome
https://help.forumotion.com/t131191-add-a-word-counter-to-the-editor
https://help.forumotion.com/t143414-add-the-chatbox-to-your-toolbar
Can someone help me find out the conflict...
ver: phpbb3
I add some font from google font to my forum following this tip
The JS using in my page is
- Code:
WebFontConfig = {
google: { families: [ 'Lobster::latin,vietnamese' ], [ 'Alegreya+Sans::latin,vietnamese' ]
[ 'Alegreya+Sans+SC::latin,vietnamese' ], [ 'Tinos::latin,vietnamese' ], [ 'Andika::latin,vietnamese' ], [ 'Arimo::latin,vietnamese' ], [ 'Chonburi::latin,vietnamese' ], [ 'Cousine::latin,vietnamese' ], [ 'EB+Garamond::latin,vietnamese' ], [ 'Itim::latin,vietnamese' ], [ 'Kanit::latin,vietnamese' ], [ 'Notica+Text::latin,vietnamese' ], [ 'Noto+Serif::latin,vietnamese' ], [ 'Open+Sans::latin,vietnamese' ], [ 'Open+Sans+Condensed::latin,vietnamese' ], [ 'Patrick+Hand::latin,vietnamese' ] }
};
(function() {
var wf = document.createElement('script');
wf.src = 'https://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
wf.type = 'text/javascript';
wf.async = 'true';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(wf, s);
})();
It did succeed adding font to forum, but it caused another big problem, it disable many other Javascript code such as these
https://help.forumotion.com/t133635-display-the-avatar-of-a-member-on-the-toolbar
https://help.forumotion.com/t144004-add-twitter-emoji-to-the-editor
https://help.forumotion.com/t140086-how-to-install-and-use-font-awesome
https://help.forumotion.com/t131191-add-a-word-counter-to-the-editor
https://help.forumotion.com/t143414-add-the-chatbox-to-your-toolbar
Can someone help me find out the conflict...