Font Size keeps changing to different numbers
3 posters
Page 1 of 1
Font Size keeps changing to different numbers
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.
Any solution you have is welcome, thank you.
KidSasuke- Forumember
- Posts : 44
Reputation : 1
Language : English
Re: Font Size keeps changing to different numbers
It is because font size can not be decimals.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Font Size keeps changing to different numbers
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
Re: Font Size keeps changing to different numbers
Do you mean when you pressing the font size button in the editor?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Font Size keeps changing to different numbers
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/
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
Re: Font Size keeps changing to different numbers
Hi KidSasuke,
Try adding this to your scripts :
Administration panel > Modules > Javascript codes management > create a new script
Placement : in all the pages
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);
});
});
Re: Font Size keeps changing to different numbers
Problem is now resolved! Thank you very much, Ange.
KidSasuke- Forumember
- Posts : 44
Reputation : 1
Language : English
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum