The CreatorCon Call for Content is officially open! Get started here.

How to change the Text Color of Post button in RITM

sattar3
Tera Contributor

Hello All,

 

I want to change the Text color of Post button in RITM.

Please check the attached screenshot, at present the text color is Black but we want to change it to White.

sattar3_0-1719573141713.png

It is OOTB Widget "Standard Ticket Actions" in our instance but in PDI the text color of the Post button is in white

sattar3_1-1719573366937.png

 

Please check the HTML and CSS code in our instance.

HTML code with Post:

<form ng-submit="postEntry(data.journalEntry)" class="padding" id="sand">

<textarea ng-keypress="keyPress($event)" sn-resize-height="trim" rows="1" id="post-input"

<input type="submit" class="btn btn-primary post-btn" value="{{data.btnLabel}}" aria-label="{{data.btnLabel}}" ng-disabled="data.isPosting" ng-if="!data.read_only"/>

 

CSS code with Post:

.post-btn {
min-width: 80px;
padding: 9px 15px;
color:white;
}
 
Can some one please help me on this?

@Ankur Bawiskar @Dr Atul G- LNG @Mark Roethof @Community Alums 

 

Thanks,

Sattar

1 ACCEPTED SOLUTION

Sid_Takali
Kilo Patron

Hi @sattar3 This kind of requirement there is no need customize/cloning a widget. You can just override CSS  code in page specific CSS

SiddharamTakali_0-1719576253875.png

 

SiddharamTakali_1-1719576312187.png

 

 

.post-btn {
 color: white !important; 
}

 

 

View solution in original post

10 REPLIES 10

Sorry mate, out of my scope as not a developer here.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************