CSS Too long Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

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.
4 posters

    CSS Too long

    BloodDrunk
    BloodDrunk
    Forumember


    Posts : 127
    Reputation : 4
    Language : English

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


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

    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.
    SLGray
    SLGray
    Administrator
    Administrator


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

    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.
    skouliki
    skouliki
    Manager
    Manager


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

    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)

    BloodDrunk
    BloodDrunk
    Forumember


    Posts : 127
    Reputation : 4
    Language : English

    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.
    SLGray
    SLGray
    Administrator
    Administrator


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

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


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

    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.
    BloodDrunk
    BloodDrunk
    Forumember


    Posts : 127
    Reputation : 4
    Language : English

    Solved Re: CSS Too long

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

    EXCELLENT! This helped!

    Thanks so much. +rep
    SLGray
    SLGray
    Administrator
    Administrator


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

    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.