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.

MAX CSS length?

+2
Razor12345
Aizen the Virtuoso
6 posters

Go down

Solved MAX CSS length?

Post by Aizen the Virtuoso December 18th 2023, 12:47 pm

Just need the number, it seems i have reached the limit.

Aizen the Virtuoso
Aizen the Virtuoso
Forumember

Posts : 39
Reputation : 2
Language : english

https://www.ninjaworldrpg.com/

Back to top Go down

Solved Re: MAX CSS length?

Post by Razor12345 December 18th 2023, 1:09 pm

Good afternoon!

The answer to that question is answered in this thread: https://help.forumotion.com/t133178-css-length-limit#895722


MAX CSS length? Screen51
Razor12345
Razor12345
Support Moderator
Support Moderator

Male Posts : 1584
Reputation : 268
Language : Ukr, Rus, Eng
Location : Ukraine

Back to top Go down

Solved Re: MAX CSS length?

Post by Niko December 18th 2023, 1:15 pm

Coucou,

on my forum I noticed it was 65381 characters, but I am not sure if the count is not based on characters but rather on words, lines, etc...
So it is plausible that the limit is around 65000 characters

Have a nice day :rose:
Niko
Niko
Helper
Helper

Male Posts : 3287
Reputation : 254
Language : English, Italian, French
Location : Italy

https://www.fmcodes.net/

TonnyKamper likes this post

Back to top Go down

Solved Re: MAX CSS length?

Post by Aizen the Virtuoso December 18th 2023, 3:44 pm

Thanks for answers guys. Do you know if i can host style.css file on my forum somewhere and call it in header,
Aizen the Virtuoso
Aizen the Virtuoso
Forumember

Posts : 39
Reputation : 2
Language : english

https://www.ninjaworldrpg.com/

Back to top Go down

Solved Re: MAX CSS length?

Post by Razor12345 December 18th 2023, 4:00 pm

I haven't experimented with css files, but I have loaded various libraries.
You can try inserting the css file into AP - Display - Template - General - overall_header

In the head tag, insert a link to the CSS file somewhere.

Code:
<link href="CSS FILE LINK" rel="stylesheet" />

Save. Publish.

Or in the same template in the tag
Code:
<style></style>
to write the necessary styles, but remember that templates also have an organic capacity - somewhere as much as the CSS file.


MAX CSS length? Screen51
Razor12345
Razor12345
Support Moderator
Support Moderator

Male Posts : 1584
Reputation : 268
Language : Ukr, Rus, Eng
Location : Ukraine

Sir Chivas™, Shek and TonnyKamper like this post

Back to top Go down

Solved Re: MAX CSS length?

Post by Shek December 18th 2023, 4:03 pm

You have two alternatives.
1) by meta tag in template overall_header before or after {CSS}:
Code:
<link rel="stylesheet" href="LINK_URL" type="text/css" />
you can use ACP > General > Promotion of forum > Search Engines > Other goalposts, but, this code is show only in homepage. (no recomended)


2) by "@import" CSS mode:
you can use in General > Display > Images and Colors > CSS and insert:
Code:
@import url('LINK_URL');

Unltil later,
Shek king


Last edited by Shek on December 18th 2023, 4:04 pm; edited 1 time in total (Reason for editing : Complement with import, already that Razor cited meta link stylesheet)
Shek
Shek
Active Poster

Male Posts : 1697
Reputation : 61
Language :  
Location : Brazil

https://publipos.net

Sir Chivas™, TonnyKamper and Razor12345 like this post

Back to top Go down

Solved Re: MAX CSS length?

Post by SarkZKalie December 18th 2023, 8:30 pm

Hello

Please don't forget to minify your CSS before uploading it to the site by this simple tool CSS Compressor santa

(Recommended to use High compression level for better performance)


MAX CSS length? Sarkzk10
SarkZKalie
SarkZKalie
Support Moderator
Support Moderator

Male Posts : 1446
Reputation : 220
Language : English

https://rotavn.forumotion.com/

Sir Chivas™, Shek and TonnyKamper like this post

Back to top Go down

Solved Re: MAX CSS length?

Post by skouliki December 22nd 2023, 7:44 am

hello

if your request is completed/answered, please mark it as Solved.
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: MAX CSS length?

Post by Niko December 27th 2023, 11:20 pm

Coucou,

Just for reference for future users that will come back to this topic and may have the same question Wink
- I've crossed this message from a member of the head office on another support forum, which contains the reply to the question you had Very Happy

Good morning,

Following this request, several improvements have been made to the management of the recording of personal CSS and Templates.

And especially,

  • If when modifying the CSS style sheet, the authorized number of characters (65535 characters) is exceeded, a red alert message is displayed when saving. The content is not lost.

  • Still when modifying personal CSS, if an autocorrection for HTML tags is applied (for example, an unclosed HTML tag) we no longer make all of the content disappear after the open tag. Likewise, if the content between HTML tags is incorrect, autocorrection will only remove the first tag. An alert message is also displayed.

  • When editing templates, if the content exceeds the authorized limit (65535 characters), when attempting to save the content of the template is retained, and an error message is displayed to indicate that the number of characters has been exceeded.
Niko
Niko
Helper
Helper

Male Posts : 3287
Reputation : 254
Language : English, Italian, French
Location : Italy

https://www.fmcodes.net/

skouliki, Ape, Shek and TonnyKamper like this post

Back to top Go down

Solved Re: MAX CSS length?

Post by Razor12345 January 2nd 2024, 10:19 am

Good afternoon!

It's been over two weeks now. We still have not received a reply from the author.
I am closing the topic and moving it to the archive.

If your problem is not solved - write me a private message and I will open this topic for further help.

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


MAX CSS length? Screen51
Razor12345
Razor12345
Support Moderator
Support Moderator

Male Posts : 1584
Reputation : 268
Language : Ukr, Rus, Eng
Location : Ukraine

Back to top Go down

Back to top

- Similar topics

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