Display text on service portal widget

asher14
Tera Contributor

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

1 ACCEPTED SOLUTION

AnveshKumar M
Tera Sage
Tera Sage

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

Thanks,
Anvesh

View solution in original post

1 REPLY 1

AnveshKumar M
Tera Sage
Tera Sage

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

Thanks,
Anvesh