The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Font style, changing fonts

View previous topic View next topic Go down

Font style, changing fonts

Post by Raziel21 on Fri Jul 05, 2013 2:44 pm

Hello fellow forumotion members.

I'd like to use custom fonts on the forum, preferably trough either a template or js code. I'd like to use this font as an option alongside ariel, verdana, times new roman etc.

http://www.cufonfonts.com/en/font/7905/medici-text

Is it possible to do so?
avatar
Raziel21
Forumember

Male Posts : 86
Reputation : 0
Language : Serbian, English, Russian, Italiano, Espanol
Location : Belgrade, Serbia

http://mizuchi.forumotion.com/forum

Back to top Go down

Re: Font style, changing fonts

Post by bob77707 on Fri Jul 05, 2013 2:52 pm

I think this will be tricky because the font package would need to be hosted somewhere. You may want to look at this thread to get an idea of what would need to be done.

http://help.forumotion.com/t122846-importing-google-fonts-to-css?highlight=custom+fonts

Google has a medieval font, but it's not quite as fancy looking as the one you want to use. Hopefully others on here will be able to provide a solution for you.

Edit:

It looks like the website does have a HTML script you can use. Here it is:

Code:
<script src="http://cufon.shoqolate.com/js/cufon-yui.js" type="text/javascript"></script>
<script src="medici-text.cufonfonts.js" type="text/javascript"></script>
<script type="text/javascript">
Cufon.replace('.medici_text', { fontFamily: 'Medici Text', hover: true });
Cufon.replace('.medici_text', { fontFamily: 'Medici Text', hover: true });
</script>

See if you can work with that. If I have time a little later, I'll try to help further if no one else has.

bob77707
Forumember

Posts : 48
Reputation : 4
Language : English

Back to top Go down

Re: Font style, changing fonts

Post by Raziel21 on Fri Jul 05, 2013 3:13 pm

I wonder about

Code:
[font=monospace]Cufon.replace('.medici_text'


Is it supposed to be like that?! What needs to be altered in the code so that it affects the letters on the forum?!


What are the possible options there? Headers, widgets etc?!
avatar
Raziel21
Forumember

Male Posts : 86
Reputation : 0
Language : Serbian, English, Russian, Italiano, Espanol
Location : Belgrade, Serbia

http://mizuchi.forumotion.com/forum

Back to top Go down

Re: Font style, changing fonts

Post by bob77707 on Fri Jul 05, 2013 3:38 pm

Well this is what the HTML looks like with one of the the font options in the editor.

Code:
<a class="sceditor-font-option" data-font="Georgia" href="#" unselectable="on">
  <font face="Georgia" unselectable="on">
  Georgia
  </font>
</a>

I have no doubt that what you are trying to is possible, it just will take a little bit of tinkering to get it working. I'll keep playing around with it and see if I can come up with anything.

bob77707
Forumember

Posts : 48
Reputation : 4
Language : English

Back to top Go down

Re: Font style, changing fonts

Post by Raziel21 on Fri Jul 05, 2013 4:30 pm

Ok, I'll await the solution to this thingyVery good
avatar
Raziel21
Forumember

Male Posts : 86
Reputation : 0
Language : Serbian, English, Russian, Italiano, Espanol
Location : Belgrade, Serbia

http://mizuchi.forumotion.com/forum

Back to top Go down

Re: Font style, changing fonts

Post by bob77707 on Fri Jul 05, 2013 7:27 pm

Well, I've looked into it the best that I could and I am out of ideas. I can't quite figure out how to reference the font in a way that can allow us to insert your font option into the editor toolbar's font options. Sorry I couldn't get it working for you Crying or Very sad

Hopefully someone else with more knowledge on this type of thing will jump in and and be able to help.

bob77707
Forumember

Posts : 48
Reputation : 4
Language : English

Back to top Go down

Re: Font style, changing fonts

Post by Raziel21 on Sat Jul 06, 2013 4:26 am

Well, even if it's not implemented in the toolbar, how about using it in regular text but with HTML?!
avatar
Raziel21
Forumember

Male Posts : 86
Reputation : 0
Language : Serbian, English, Russian, Italiano, Espanol
Location : Belgrade, Serbia

http://mizuchi.forumotion.com/forum

Back to top Go down

Re: Font style, changing fonts

Post by Raziel21 on Tue Jul 09, 2013 11:48 am

Bump > Any sslution to this. The key is that the font [from the first post in this topic] appears in the "post" on the forum, doesn't matter how it'll happen as long as it's not flash based.
avatar
Raziel21
Forumember

Male Posts : 86
Reputation : 0
Language : Serbian, English, Russian, Italiano, Espanol
Location : Belgrade, Serbia

http://mizuchi.forumotion.com/forum

Back to top Go down

Re: Font style, changing fonts

Post by Raziel21 on Thu Jul 11, 2013 9:02 am

One more Bump
avatar
Raziel21
Forumember

Male Posts : 86
Reputation : 0
Language : Serbian, English, Russian, Italiano, Espanol
Location : Belgrade, Serbia

http://mizuchi.forumotion.com/forum

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum