[wp-trac] [WordPress Trac] #49447: style of rtl paragraph for twenty twenty theme
WordPress Trac
noreply at wordpress.org
Sun Feb 16 05:34:23 UTC 2020
#49447: style of rtl paragraph for twenty twenty theme
--------------------------+-----------------------------
Reporter: amirkamizi | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version: 5.3.2
Severity: major | Keywords:
Focuses: css, rtl |
--------------------------+-----------------------------
when changing the language of the website with polylang plugin i noticed
everything works perfectly except the alighnment of paragraphs which were
still left to right although in the editor i set them to be right to left
and it also got the class has-text-align-right
after checking many things I realzed in the style-rtl.css file the
mentioned class (has-text-align-right) has text align as left and (has-
text-align-left) had text alight to left as well.
so i changed the has-text-align-right to the following and now everything
works great
.has-text-align-right {
text-align: right;
}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49447>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list