Question:
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>
<div class="item item-divider">
{{nome}}
</div>
</div>
Answer:
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.