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 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
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 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.
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 April 2nd 2017, 5:40 am

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 : 51554
Reputation : 3524
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 April 2nd 2017, 9:12 am

hello

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

Female Posts : 15391
Reputation : 1709
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: CSS Too long

Post by BloodDrunk 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.
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 April 2nd 2017, 7:02 pm



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 : 51554
Reputation : 3524
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 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.
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 April 2nd 2017, 10:22 pm

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 April 3rd 2017, 1:02 am

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 : 51554
Reputation : 3524
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