<div dir="ltr">This works when parent theme is active. But when child theme is active, rtl.css is not loaded. <div><br></div><div>There are at least two ways to handle this.</div><div><br></div><div>1. Use selectors .rtl in parent theme style.css. </div>
<div><br></div><div>.rtl #some {</div><div><br></div><div>}</div><div><br></div><div>2. Load style-rtl.css or style-rtl.min.css file when is_rtl is true.</div><div><br></div><div><div><span class="" style="white-space:pre">       </span>/* Enqueue parent theme styles. */</div>
<div><span class="" style="white-space:pre">    </span>wp_enqueue_style( 'theme-style', trailingslashit( get_template_directory_uri() ) . 'style' . THEME_SUFFIX . '.css', array(), THEME_VERSION );</div>
</div><div><br></div><div><br></div><div><div><span class="" style="white-space:pre">   </span>/* Enqueue right to left styles. */</div><div><span class="" style="white-space:pre">        </span>if ( is_rtl() ) {</div><div><span class="" style="white-space:pre">          </span>wp_enqueue_style( 'theme-rtl-style', trailingslashit( get_template_directory_uri() ) . 'style-rtl' . THEME_SUFFIX . '.css', array( 'theme-style' ), THEME_VERSION );</div>
<div><span class="" style="white-space:pre">    </span>}</div></div><div><br></div><div>We could generate RTL styles with Janus Grunt task but in my case it still needs some manually work. So I just write RTL styles manually.</div>
<div><br></div><div><a href="https://github.com/yoavf/grunt-cssjanus">https://github.com/yoavf/grunt-cssjanus</a><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 4 August 2014 10:09, Sami Keijonen <span dir="ltr"><<a href="mailto:sami.keijonen@foxnet.fi" target="_blank">sami.keijonen@foxnet.fi</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hmmm rtl.css might not be loaded properly with this way. Need to test some more.</div><div class="gmail_extra">
<br><br><div class="gmail_quote"><div class="">On 1 August 2014 21:03, Emil Uzelac <span dir="ltr"><<a href="mailto:emil@uzelac.me" target="_blank">emil@uzelac.me</a>></span> wrote:<br>
</div><div><div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It should be good, I have not find any issues with that. Not sure what others think.<div><div>

<span></span><br><br>On Friday, August 1, 2014, Sami Keijonen <<a href="mailto:sami.keijonen@foxnet.fi" target="_blank">sami.keijonen@foxnet.fi</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Emil, is you example loading parent and child theme style.css allowed in .org? It's seems handy way of loading parent theme's style.min.css file.<div class="gmail_extra">


<br><br><div class="gmail_quote">
On 16 July 2014 22:36, Emil Uzelac <span dir="ltr"><<a>emil@uzelac.me</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr"><div style="font-family:arial,helvetica,sans-serif">Empties are ugly and not really needed. </div><div style="font-family:arial,helvetica,sans-serif"><br></div><div style="font-family:arial,helvetica,sans-serif">




This is what I do for my clients:</div><div style="font-family:arial,helvetica,sans-serif"><br></div><div><div><font face="arial, helvetica, sans-serif">    // Parent theme style.</font></div>
<div><font face="arial, helvetica, sans-serif"><span style="white-space:pre-wrap">        </span>wp_enqueue_style( 'my-style', get_template_directory_uri() . '/style.css', array(), null );</font></div>
<div><span style="white-space:pre-wrap"><font face="arial, helvetica, sans-serif">        </font></span></div><div><font face="arial, helvetica, sans-serif"><span style="white-space:pre-wrap">  </span>// Child theme style.<span style="white-space:pre-wrap">   </span></font></div>




<div><font face="arial, helvetica, sans-serif">    if ( is_child_theme() ) {</font></div><div><font face="arial, helvetica, sans-serif"><span style="white-space:pre-wrap">           </span>wp_enqueue_style( 'my-child-style', get_stylesheet_uri(), array(), null );</font></div>




<div><font face="arial, helvetica, sans-serif"><span style="white-space:pre-wrap">        </span>}</font></div></div><div style="font-family:arial,helvetica,sans-serif"><br></div>
<div style="font-family:arial,helvetica,sans-serif">Parent style.css remains at the usual place and when child is active it will add it's own stylesheet :)</div><div style="font-family:arial,helvetica,sans-serif">
<br></div><div style="font-family:arial,helvetica,sans-serif">And of course no @imports either ;)</div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div><div><div dir="ltr"><div><div><div><br></div></div></div></div>
<br></div></div><div>_______________________________________________<br>
theme-reviewers mailing list<br>
<a>theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></div></blockquote></div><br></div>
<br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a>theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Sami Keijonen<br>Fox Holding Oy<br><a>sami.keijonen@foxnet.fi</a><br>
<a href="http://foxnet.fi" target="_blank">foxnet.fi</a><div>
<a href="http://foxnet-themes.fi" target="_blank">foxnet-themes.fi</a></div></div>
</div></div>
</blockquote>
</div></div><br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div></div></div><div><div class="h5"><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Sami Keijonen<br>Fox Holding Oy<br><a href="mailto:sami.keijonen@foxnet.fi" target="_blank">sami.keijonen@foxnet.fi</a><br>
<a href="http://foxnet.fi" target="_blank">foxnet.fi</a><div>
<a href="http://foxnet-themes.fi" target="_blank">foxnet-themes.fi</a></div></div>
</div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Sami Keijonen<br>Fox Holding Oy<br><a href="mailto:sami.keijonen@foxnet.fi" target="_blank">sami.keijonen@foxnet.fi</a><br><a href="http://foxnet.fi" target="_blank">foxnet.fi</a><div>
<a href="http://foxnet-themes.fi" target="_blank">foxnet-themes.fi</a></div></div>
</div>