I was trying to align the text to the center on mobile using text.html, everything is working fine except the text alignment, here's the code that I used on mobile and a photo demonstrating the purpose.
$item('#price').html = "<span style='text-align: center; font-family: janna, arial; font-size: 20px; font-weight: bold; color: #E84A43' >" + comboPrice + "</span>";
Here is the photo, am I doing it wrong? If so, what's the right way to do it?
Am I doing it wrong? If so, what's the right way to do it?
Appreciate the advice.