# CSS for Expanding Character Limit in Labels

**URL:** <https://community.surveysparrow.com/t/css-for-expanding-character-limit-in-labels/3536>\
**Category:** CSS Knowledge Bonanza! 🕺\
**Created:** [August 9, 2023, 6:51am UTC](https://community.surveysparrow.com/t/css-for-expanding-character-limit-in-labels/3536 "2023-08-09T06:51:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![adithya.s](https://avatars.discourse-cdn.com/v4/letter/a/cab0a1/32.png) [@adithya.s](https://community.surveysparrow.com/u/adithya.s)\
**Post date:** [August 9, 2023, 6:51am UTC](https://community.surveysparrow.com/t/css-for-expanding-character-limit-in-labels/3536/1 "2023-08-09T06:51:18Z")

</div>

**CSS for Expanding Character Limit in Labels**

This CSS enables customizable labeling by extending the character limit in NPS.

Code :

.ss-answer-option--rating label {  
font-size: 0;  
}  
.ss-answer-option--rating label::after {  
content: "UPDATED TEXT FOR LEFT LABEL";  
font-size: 16px;  
}  
.ss-answer-option--rating label.ss-answer-option\_\_label--max-label::after {  
content: "UPDATED TEXT FOR RIGHT LABEL";  
}

Kindly replace the placeholder text "UPDATED TEXT FOR LEFT LABEL" and "UPDATED TEXT FOR RIGHT LABEL" with the desired text for the left and right labels, respectively.

 ![Screenshot 2023-08-09 at 12.16.06 PM](https://europe1.discourse-cdn.com/flex013/uploads/surveysparrow1/original/1X/2fb3cd140a4f7187df429c0d06fd9eec73d08c27.jpeg)

 ![Screenshot 2023-08-09 at 12.20.15 PM](https://europe1.discourse-cdn.com/flex013/uploads/surveysparrow1/original/1X/7fad09efd23cf381f015de69a5d97b201ce7394c.jpeg)
