Experiencing an issue while attempting to switch the theme direction to RTL.
https://i.sstatic.net/GSkWb.png
Here is the provided HTML code :
<div class="header_top_right">
<div class="email">email :<a href="#"> <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="6b060e0c0504192b0c060a020745080406">[email protected]</a></a></div>
<div class="phone">Phone :<a href="#">01234567890</a></div></div>
</div>
As well as the CSS :
.header_top_right .email {
background: url(../images/sprite.png) no-repeat scroll -220px -355px;
margin: 5px 0px;
}
.header_top_right .phone {
background: url(../images/sprite.png) no-repeat scroll -220px -313px;
margin: 5px 0px;
}
.header_top_right .email, .header_top_right .phone {
padding-right: 40px;
float: left;
color: #42474b;
}
The icon currently displays on the left side of the text, but the goal is for it to appear on the right. Adjusting the background-position only affects the icon, not its position relative to the text.
Is there a solution available?
*PS: Modifying the HTML code is not an option