I am trying to move the icons in my /ar
footer to the front of the text.
Here's the url and a screenshot:
Image description of the wanted result https://i.sstatic.net/RMDwn.png
HTML Code:
< span style="color: #f45152; font-size: 11pt;" >< i class="fa fa-whatsapp" style="color: green;" > < /i > 00972-598-301-381 < /span >< /p >
And here is the CSS:
.fa, .fab, .fad, .fal, .far, .fas {
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
display: inline-block;
font-style: normal;
font-variant: normal;
text-rendering: auto;
line-height: 1;
}
I found this https://stackoverflow.com/questions/74168999/how-to-insert-icon-before-text but I couldn't apply it.
I figured it out, I added (direction: ltr;) to my HTML code and it worked. This can also be added as CSS in case you can't edit your HTML