- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
I would like to create an article with an alert message box (with my own text) in side the article. Does someone know how to do it?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago - last edited 3 hours ago
Hi,
You could use something like the following in the Source Code.
<style>
.alert-box {
padding: 15px;
background-color: #ffcc00; /* Change this for different alert types */
color: #333;
border: 1px solid #e6b800;
border-radius: 5px;
font-family: Arial, sans-serif;
width: 300px;
margin: 20px auto;
text-align: center;
}
</style>
<div class="alert-box">⚠️ <span style="font-size: 10pt;">This is your custom alert message!</span></div>
and obviously update the message to your own text as required.
Regards,
Eoghan
🌟 ServiceNow Rising Star 2025
If you found my reply helpful, please consider clicking Helpful or Accept as Solution to assist others in the community!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago - last edited 3 hours ago
Hi,
You could use something like the following in the Source Code.
<style>
.alert-box {
padding: 15px;
background-color: #ffcc00; /* Change this for different alert types */
color: #333;
border: 1px solid #e6b800;
border-radius: 5px;
font-family: Arial, sans-serif;
width: 300px;
margin: 20px auto;
text-align: center;
}
</style>
<div class="alert-box">⚠️ <span style="font-size: 10pt;">This is your custom alert message!</span></div>
and obviously update the message to your own text as required.
Regards,
Eoghan
🌟 ServiceNow Rising Star 2025
If you found my reply helpful, please consider clicking Helpful or Accept as Solution to assist others in the community!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
Thank you @Eoghan Sinnott !