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 Size keeps changing to different numbers

View previous topic View next topic Go down

Solved Font Size keeps changing to different numbers

Post by KidSasuke on March 2nd 2014, 3:37 pm

So a few days ago I was going to change the size of my font to a different size like I always do. I went to click preview first, and noticed that it always keeps the change number size I put, but addd ".4232352312" or whatever after it making it not even show up and look like this:





Any solution you have is welcome, thank you.

KidSasuke
Forumember

Posts : 44
Reputation : 1
Language : English

Back to top Go down

Solved Re: Font Size keeps changing to different numbers

Post by SLGray on March 2nd 2014, 4:55 pm

It is because font size can not be decimals.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35670
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Font Size keeps changing to different numbers

Post by KidSasuke on March 2nd 2014, 5:17 pm

@SLGray wrote:It is because font size can not be decimals.

I'm well aware of that. My problem is that it keeps changing my numbers into decimals by default when i'm not even entering them.

KidSasuke
Forumember

Posts : 44
Reputation : 1
Language : English

Back to top Go down

Solved Re: Font Size keeps changing to different numbers

Post by SLGray on March 2nd 2014, 8:48 pm

Do you mean when you pressing the font size button in the editor?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35670
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Font Size keeps changing to different numbers

Post by KidSasuke on March 2nd 2014, 11:41 pm

Hmm let me be more clear then. Okay, when I press the font size button in the editor, it comes out like this:

Very normal indeed, yes?



This what it looks like if you press preview or try to edit it after posting it:





The size number becomes a decimal all the time and it gets very annoying having to change it back when you are trying to just look at a preview of your comment before posting, or needing to edit it for reasons.

Link to my forum: http://www.xenonduelacademy.com/

KidSasuke
Forumember

Posts : 44
Reputation : 1
Language : English

Back to top Go down

Solved Re: Font Size keeps changing to different numbers

Post by Ange Tuteur on March 3rd 2014, 1:29 pm

Hi KidSasuke,

Try adding this to your scripts :
Administration panel > Modules > Javascript codes management > create a new script

Placement : in all the pages
Code:
$(function() {
  var a = $("#text_editor_textarea"), t;
  a.length && (t = a.val()) && $(function() {
  a.sceditor && a.sceditor("instance") && a.sceditor("instance").val(t);
  });
});

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Font Size keeps changing to different numbers

Post by KidSasuke on March 3rd 2014, 2:47 pm

Problem is now resolved! Thank you very much, Ange.

KidSasuke
Forumember

Posts : 44
Reputation : 1
Language : English

Back to top Go down

Solved Re: Font Size keeps changing to different numbers

Post by Ange Tuteur on March 3rd 2014, 2:49 pm

You're welcome I love you

Topic solved and archived

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

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