ionic – How to align text in the center of a card?


I'm looking for a way to align the card component text in ionic. How to do this ?

<div class="card">
          <div class="item item-image">
            <img ng-src={{imagem}} id="smallimage">
          <div class="item item-divider">


I found this answer here on SO-English. Just add text-center to your div.

See an example of one of the responses applied to the search button.

Scroll to Top