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.

CSS Length Limit

View previous topic View next topic Go down

Solved CSS Length Limit

Post by J0k3R^ on May 19th 2014, 8:16 am

Hi, today i was going to add some codes to my css but when i 'Publish' it crashes and when i reload the page the last codes from the buttom are getting removed. So, my question is: does css got length limit? i got around 2500 lines and i have this problem. If yes, what can i do in this situation? Thanks:rose:

J0k3R^
Forumember

Male Posts : 742
Reputation : 28
Language : Greek > English > Russian > Spanish
Location : C:\>r00t

http://fmplanet.forumgreek.com

Back to top Go down

Solved Re: CSS Length Limit

Post by SLGray on May 19th 2014, 8:38 am

There is a limit. I believe it is over 6,000. Try to make a code one line.


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


SLGray
Administrator
Administrator

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

http://fmthemes.forumotion.com/

Back to top Go down

Solved Re: CSS Length Limit

Post by J0k3R^ on May 19th 2014, 9:23 am

6000 lines is okey, i got around 2500 but still got this problem :S


Last edited by J0k3R^ on May 19th 2014, 1:01 pm; edited 1 time in total

J0k3R^
Forumember

Male Posts : 742
Reputation : 28
Language : Greek > English > Russian > Spanish
Location : C:\>r00t

http://fmplanet.forumgreek.com

Back to top Go down

Solved Re: CSS Length Limit

Post by SLGray on May 19th 2014, 9:49 am

Have you tried adding it to the top?


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


SLGray
Administrator
Administrator

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

http://fmthemes.forumotion.com/

Back to top Go down

Solved Re: CSS Length Limit

Post by J0k3R^ on May 19th 2014, 10:06 am

I do.. I put every new code on top

J0k3R^
Forumember

Male Posts : 742
Reputation : 28
Language : Greek > English > Russian > Spanish
Location : C:\>r00t

http://fmplanet.forumgreek.com

Back to top Go down

Solved Re: CSS Length Limit

Post by SocialAcademy on May 19th 2014, 10:43 am

you can add CSS <style></style> tag in overall_header

SocialAcademy
Forumember

Male Posts : 141
Reputation : 10
Language : JavaScript, CSS, Html, JQuery, C#, C++, Php, Python
Location : Forumotion

http://www.socialacademy.biz

Back to top Go down

Solved Re: CSS Length Limit

Post by J0k3R^ on May 19th 2014, 1:00 pm

But why the limit its so low? its starting removing codes around ~2400 lines :S

J0k3R^
Forumember

Male Posts : 742
Reputation : 28
Language : Greek > English > Russian > Spanish
Location : C:\>r00t

http://fmplanet.forumgreek.com

Back to top Go down

Solved Re: CSS Length Limit

Post by Leviosa on May 19th 2014, 2:41 pm

Hello

What is the message you get when to try to send your codes?

If you can provide a screenshot + the CSS (with the hidden option) it would be great Smile

Thanks in advance


No help without your forum url
No support via private message



Leviosa
Administrator
Administrator

Female Posts : 15382
Reputation : 1563
Language : French, English

http://help.forumotion.com

Back to top Go down

Solved Re: CSS Length Limit

Post by J0k3R^ on May 19th 2014, 3:22 pm

I dont get any message. I will try to explain u with full details.

Today i tried to add some codes (simple, just for some buttons designs, correct syntax) but when i press 'publish' the page is getting blank (complete white) and the 'reload' icon on my browser is "ready" like the page is loaded normally (when the css is working fine, it takes around 10 seconds to accept the new codes i put, but in this situation the page reloads immediately). I press Refresh and i see my css without the new codes and the last lines from the bottom deleted.

Im fine for the moment because i deleted some unused codes but when i will reach again the.."limit" it will do the same i guess. what should i do or whats the problem?? :S

J0k3R^
Forumember

Male Posts : 742
Reputation : 28
Language : Greek > English > Russian > Spanish
Location : C:\>r00t

http://fmplanet.forumgreek.com

Back to top Go down

Solved Re: CSS Length Limit

Post by Leviosa on May 19th 2014, 4:50 pm

Ok. Thanks for your feedback. Could you please send me the Code you try to add on your CSS?

You can send me the information via private message if you want + the link of the topic.

Thanks


No help without your forum url
No support via private message



Leviosa
Administrator
Administrator

Female Posts : 15382
Reputation : 1563
Language : French, English

http://help.forumotion.com

Back to top Go down

Solved Re: CSS Length Limit

Post by J0k3R^ on May 19th 2014, 6:21 pm

The problem wasnt the codes. I deleted some other unused css and now its working good. But Im aftaid this problem will happen again if i add many lines..

J0k3R^
Forumember

Male Posts : 742
Reputation : 28
Language : Greek > English > Russian > Spanish
Location : C:\>r00t

http://fmplanet.forumgreek.com

Back to top Go down

Solved Re: CSS Length Limit

Post by SLGray on May 19th 2014, 7:56 pm

So when you tried to add more codes to your stylesheet, which was already on line 2,400, the new code was not being saved?


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


SLGray
Administrator
Administrator

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

http://fmthemes.forumotion.com/

Back to top Go down

Solved Re: CSS Length Limit

Post by Neptune- on May 20th 2014, 6:01 am

Hello ^^

The limit with CSS is not in lines but in characters.

Current limit is 216 so 65536 characters

Neptune-
Forumember

Male Posts : 187
Reputation : 21
Language : French (10), English (8), CSS (5), HTML (4), Javascript (1)
Location : France

http://www.planet-series.com/

Back to top Go down

Solved Re: CSS Length Limit

Post by J0k3R^ on May 20th 2014, 6:14 am

thats right SLGray! Smile
neptune, can i check how many characters i got?

J0k3R^
Forumember

Male Posts : 742
Reputation : 28
Language : Greek > English > Russian > Spanish
Location : C:\>r00t

http://fmplanet.forumgreek.com

Back to top Go down

Solved Re: CSS Length Limit

Post by SLGray on May 20th 2014, 6:56 am

Copy all of your CSS, and minimize it using this: http://www.refresh-sf.com/yui/


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


SLGray
Administrator
Administrator

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

http://fmthemes.forumotion.com/

Back to top Go down

Solved Re: CSS Length Limit

Post by Neptune- on May 20th 2014, 9:06 am

@J0k3R^ wrote:
neptune, can i check how many characters i got?

Just copy/paste all your css into Notepad, save and check the file size

Neptune-
Forumember

Male Posts : 187
Reputation : 21
Language : French (10), English (8), CSS (5), HTML (4), Javascript (1)
Location : France

http://www.planet-series.com/

Back to top Go down

Solved Re: CSS Length Limit

Post by J0k3R^ on May 20th 2014, 12:42 pm

@SLGray what this exactly do? remove spaces and empty lines? :S
@Neptune the file size is 120kb Razz

J0k3R^
Forumember

Male Posts : 742
Reputation : 28
Language : Greek > English > Russian > Spanish
Location : C:\>r00t

http://fmplanet.forumgreek.com

Back to top Go down

Solved Re: CSS Length Limit

Post by Luffy on May 20th 2014, 4:23 pm

The Css has a limit. I got that a while ago trying to add some codes but now i only add the once that cant be added in the templates. It is easier to add them in templates and a lot more fast. But i have the same question. Why have a limit? Is this useful to something?






Luffy
Manager
Manager

Male Posts : 4035
Reputation : 407
Language : Greek, English
Location : Greece

http://www.thinktankforum.net

Back to top Go down

Solved Re: CSS Length Limit

Post by Derri on May 20th 2014, 4:33 pm

I believe the confirmed limit (I've asked other support mods across all FM forums, even those in other languages) seems to be65,000 characters.

If you go above this then anything else would be automatically deleted.


Forum Rules: :Forumotion Staff: :Appeal A Warning: :FAQ: :Tips & Tricks: :Forgotten Password/Login Issues
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


Derri
Administrator
Administrator

Male Posts : 8355
Reputation : 571
Language : English & Basic French
Location : Scotland, United Kingdom

Back to top Go down

Solved Re: CSS Length Limit

Post by SLGray on May 20th 2014, 10:05 pm

Since this is marked solved, it will be archived.


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


SLGray
Administrator
Administrator

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

http://fmthemes.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