- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2024 04:30 AM - edited 06-28-2024 04:33 AM
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.
It is OOTB Widget "Standard Ticket Actions" in our instance but in PDI the text color of the Post button is in white
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:
min-width: 80px;
padding: 9px 15px;
color:white;
}
@Ankur Bawiskar @Dr Atul G- LNG @Mark Roethof @Community Alums
Thanks,
Sattar
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2024 05:02 AM - edited 06-28-2024 05:03 AM
Hi @sattar3 This kind of requirement there is no need customize/cloning a widget. You can just override CSS code in page specific CSS
.post-btn {
color: white !important;
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2024 11:43 AM
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]
****************************************************************************************************************