How to make text of Label type in Bold
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2021 05:29 AM
Hi All,
I want to make Header in Bold. I have created it as of Label Type and I am not able to make it bold and big. Could any one please help me in making this text bold. Below is the screenshot for the reference.
customization is header here. I want to make it bold in black color.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-25-2021 12:28 AM
Hope you are doing good.
Did my reply answer your question?
If so, please mark appropriate response as correct & helpful so that the question will appear as resolved for others who may have a similar question in the future.
Thanks!
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-28-2021 08:42 AM
Hope you are doing good.
Did my reply answer your question?
If so, please mark appropriate response as correct & helpful so that the question will appear as resolved for others who may have a similar question in the future.
Thanks!
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-11-2021 03:11 AM
I believe I have answered your question with the approach.
Would you mind marking my answer as correct and helpful, to close this thread?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-18-2021 05:14 AM
I believe I have answered your question with the approach.
Would you mind marking my answer as correct and helpful, to close this thread?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-18-2021 09:18 PM
Hi ankur,
This code is working me exactly what i need. But i set that code for changing color it is working but i need it should be bold and increase text size also. Is there any possible to set that in that code only.
Here is code:
setTimeout(function() {
if (window != null) {
// native
g_form.getControl('you_have_already_raised_a_ticket').setAttribute('style', 'font-weight: bold;color:red');
} else {
// portal
var aTags = this.document.getElementsByClassName("ng-binding");
var searchText = "You have already raised a ticket";
var found;
for (var i = 0; i < aTags.length; i++) {
while (aTags[i].textContent.toString() == searchText) {
aTags[i].style.color = 'red';
break;
}
}
}
}, 5);
Thanks