Align title of item divider to right


#1

Is there anyway to align title of a divider item to right?

The following code did not work

 <ion-list class="list">
             <!--offer, need or help-->
             <ion-item class="item item-divider assertive-100-bg rtl">
               <h2 class="text-right">Check this</h2>
             </ion-item>
<ion-list>

#2

Could you edit your post so that we can see your code ?
Thank you.


#3

try to set class text-right to your ion-item

<ion-item class="item item-divider assertive-100-bg text-right rtl">
    <h2 class="text-right">Check this</h2>
</ion-item>

#4

It works, and I confirm that text-right is require din both the ion-item as well as the h2 tags
thanks