Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
André
Contributor III
Contributor III

How to extend sheet custom CSS maxlength

Yay that we now have a native way to customize CSS on a per-sheet basis! Boo that the textarea input field is limited to 512 characters.

You can add this bookmarklet to your browser, and click it to extend the maxlength value of the field to whatever you like! It is currently set to increase the value to 2046, but you can edit that as you wish.

Simply add a new bookmark in your browser, paste the below code into the URL section, give it a name, and save. Then if you run out of characters in the field, click the bookmarklet and continue styling!

Name: Qlik Extend CSS Limit
URL:

javascript:(function(){var el=document.getElementById("customCss");if(el){el.setAttribute("maxlength","2046");alert("Maxlength changed to 2046!");}else{alert("Textarea with id 'customCss' not found.");}})();

(Note that it should read "javascript:" (javascript[colon]) but the forums seem to change the colon to ":" so make sure you change it back when creating the bookmarklet)

Andr_0-1757715445904.png

 

Before:

Andr_1-1757714942801.png


After:

Andr_2-1757714988270.png

Andr_3-1757715029478.png

 

Go wild! Happy styling 😎

Labels (1)
0 Replies