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 Too long

View previous topic View next topic Go down

Solved CSS Too long

Post by BloodDrunk on April 2nd 2017, 12:04 am

As the title says. Why is there a restriction on CSS code? This seriously bugs me, as I can't further improve the appearance of the forum.
Thanks for help.

www.nfssecrets.tk
avatar
BloodDrunk
Forumember

Posts : 127
Reputation : 4
Language : English

http://www.nfssecrets.tk/

Back to top Go down

Solved Re: CSS Too long

Post by Draxion on April 2nd 2017, 12:34 am

Hello.

As I am not sure why they have a restriction on the length of the sheet, but I face the same problem with my own forum and therefore use other means to putting CSS on my site via JavaScript and header template. You could possibly do the same thing.


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 1846
Reputation : 231
Language : English
Location : USA

http://www.draxionsgameden.com/

Back to top Go down

Solved Re: CSS Too long

Post by SLGray on April 2nd 2017, 5:40 am

You can minify your CSS stylesheet.


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

avatar
SLGray
Administrator
Administrator

Male Posts : 40909
Reputation : 2777
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: CSS Too long

Post by skouliki on April 2nd 2017, 9:12 am

hello

i think that the csshas acapacity up to 64KB (64,000 characters)
avatar
skouliki
Graphic Designer
Graphic Designer

Female Posts : 3177
Reputation : 494
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: CSS Too long

Post by BloodDrunk on April 2nd 2017, 12:30 pm

You can minify your CSS stylesheet.
Thing is, I don't have ton of time to rework existing CSS rules, so I just overwrite current rules with new ones.

Hello.

As I am not sure why they have a restriction on the length of the sheet, but I face the same problem with my own forum and therefore use other means to putting CSS on my site via JavaScript and header template. You could possibly do the same thing.

That'd be horrible..but I guess it will be the only way if all else fails.
avatar
BloodDrunk
Forumember

Posts : 127
Reputation : 4
Language : English

http://www.nfssecrets.tk/

Back to top Go down

Solved Re: CSS Too long

Post by SLGray on April 2nd 2017, 7:02 pm



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

avatar
SLGray
Administrator
Administrator

Male Posts : 40909
Reputation : 2777
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: CSS Too long

Post by Draxion on April 2nd 2017, 9:13 pm

Yes, I tested the software @SLGray posted and it brings your current CSS lines from 4,071 to 3,666. You should be able to successfully place the minimized version on your site.
avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 1846
Reputation : 231
Language : English
Location : USA

http://www.draxionsgameden.com/

Back to top Go down

Solved Re: CSS Too long

Post by BloodDrunk on April 2nd 2017, 10:22 pm

EXCELLENT! This helped!

Thanks so much. +rep
avatar
BloodDrunk
Forumember

Posts : 127
Reputation : 4
Language : English

http://www.nfssecrets.tk/

Back to top Go down

Solved Re: CSS Too long

Post by SLGray on April 3rd 2017, 1:02 am

You're welcome.

Problem solved & topic archived.
Please read our forum rules: ESF General Rules


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

avatar
SLGray
Administrator
Administrator

Male Posts : 40909
Reputation : 2777
Language : English
Location : United States

https://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