- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2023 05:08 PM
Working on a custom widget in the service portal. I would like to add text to display on the widget.
Currently coded:
<div>
Hours of Operation: Mon- Fri
8:00-5:00
Contact: xxx-xxx-xxx
</div>
Below is how I want it to display on the page:
Hours of Operation: Mon- Fri
8:00-5:00
Contact: xxx-xxx-xxx
How can I change the code to display the above
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2023 07:56 PM
Hi @asher14 ,
Try the below html code in your widget.
<div>
<div class="row">
<div class="col-sm-6">
Hours of Operation:
</div>
<div class="col-sm-6">
Mon- Fri <br></br>
</div>
<div class="row">
<div class="col-sm-6">
Contact:
</div>
<div class="col-sm-6">
xxx-xxx-xxx
</div>
</div>
</div>
Thanks,
Anvesh
Anvesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2023 07:56 PM
Hi @asher14 ,
Try the below html code in your widget.
<div>
<div class="row">
<div class="col-sm-6">
Hours of Operation:
</div>
<div class="col-sm-6">
Mon- Fri <br></br>
</div>
<div class="row">
<div class="col-sm-6">
Contact:
</div>
<div class="col-sm-6">
xxx-xxx-xxx
</div>
</div>
</div>
Thanks,
Anvesh
Anvesh