How can I align the following to right (I want it to be RTL)
<div class="grid pixcode--grid">
<div class="grid__item six-twelfths palm-one-whole">
[text* your-name placeholder "שם פרטי"]
</div>
<div class="grid__item six-twelfths palm-one-whole">
[text* last-name placeholder "שם משפחה"]
</div>
</div>
<div>
[tel* tel-594 placeholder = "טלפון"]
</div>
[email* your-email placeholder "אימייל"] [textarea your-message placeholder "הודעה"][submit "שלח"]
试试这个CSS
.wpcf7-form { direction:rtl; text-align: right; }
You mean like
div {
direction: rtl;
text-align: right;
}
in your css (add appropriate class)
I think this should work for you.
css:
div .grid_item{
direction: rtl;
text-align: right;
}
Hope it works.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.