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 Mon Dec 18 2023, 13:47

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

Aizen the Virtuoso
Aizen the Virtuoso
Forumember

Posts : 30
Reputation : 2
Language : english

http://narutoninjaway.forumotion.me/

Back to top Go down

Solved Re: MAX CSS length?

Post by Razor12345 Mon Dec 18 2023, 14:09

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 : 1476
Reputation : 262
Language : Ukr, Rus, Eng
Location : Ukraine

Back to top Go down

Solved Re: MAX CSS length?

Post by Niko Mon Dec 18 2023, 14:15

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 : 3110
Reputation : 245
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 Mon Dec 18 2023, 16:44

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 : 30
Reputation : 2
Language : english

http://narutoninjaway.forumotion.me/

Back to top Go down

Solved Re: MAX CSS length?

Post by Razor12345 Mon Dec 18 2023, 17:00

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 : 1476
Reputation : 262
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 Mon Dec 18 2023, 17:03

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 Mon Dec 18 2023, 17:04; edited 1 time in total (Reason for editing : Complement with import, already that Razor cited meta link stylesheet)
Shek
Shek
Active Poster

Male Posts : 1679
Reputation : 60
Language : Portuguese and English
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 Mon Dec 18 2023, 21:30

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 : 1418
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 Fri Dec 22 2023, 08:44

hello

if your request is completed/answered, please mark it as Solved.
skouliki
skouliki
Manager
Manager

Female Posts : 15157
Reputation : 1696
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: MAX CSS length?

Post by Niko Thu Dec 28 2023, 00:20

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 : 3110
Reputation : 245
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 Tue Jan 02 2024, 11:19

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 : 1476
Reputation : 262
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