The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

CSS Too long

4 posters

Go down

Solved CSS Too long

Post by BloodDrunk Sun 2 Apr 2017 - 0:04

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
BloodDrunk
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 Sun 2 Apr 2017 - 0:34

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.
Draxion
Draxion
Helper
Helper

Male Posts : 2518
Reputation : 321
Language : English
Location : USA

https://www.talesoftellene.com/

Back to top Go down

Solved Re: CSS Too long

Post by SLGray Sun 2 Apr 2017 - 5:40

You can minify your CSS stylesheet.


CSS Too long Slgray10

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

Male Posts : 51520
Reputation : 3523
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: CSS Too long

Post by skouliki Sun 2 Apr 2017 - 9:12

hello

i think that the css has a capacity up to 64KB  (64,000 characters)
skouliki
skouliki
Manager
Manager

Female Posts : 15352
Reputation : 1705
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: CSS Too long

Post by BloodDrunk Sun 2 Apr 2017 - 12:30

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.
BloodDrunk
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 Sun 2 Apr 2017 - 19:02



CSS Too long Slgray10

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

Male Posts : 51520
Reputation : 3523
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: CSS Too long

Post by Draxion Sun 2 Apr 2017 - 21:13

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.
Draxion
Draxion
Helper
Helper

Male Posts : 2518
Reputation : 321
Language : English
Location : USA

https://www.talesoftellene.com/

Back to top Go down

Solved Re: CSS Too long

Post by BloodDrunk Sun 2 Apr 2017 - 22:22

EXCELLENT! This helped!

Thanks so much. +rep
BloodDrunk
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 Mon 3 Apr 2017 - 1:02

You're welcome.

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


CSS Too long Slgray10

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

Male Posts : 51520
Reputation : 3523
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

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