rtl/arabic

  • Kadi

    #12088

    Thanks, I did that and it worked, but the layout is messed up now! :/

    Please take a look.

    http://www.ms-saudi.org/wordpress/

    Admin

    Syahir Hakim

    #12089

    Hurm..when using child theme, the theme’s rtl.css file is not loaded by default. To enable it, create a new file called rtl.css in your child theme’s folder. Then add the following code inside that file you just created:

    /*
    Theme Name: Graphene Child
    Template: graphene
    */

    @import url("../graphene/rtl.css");

    Reference: http://codex.wordpress.org/Child_Themes#Note_on_RTL_support

    Kadi

    #12090

    I had already done that. 🙁

    Admin

    Syahir Hakim

    #12091

    Hurm..it seems that you have done everything right, but somehow WordPress is not loading the child theme’s rtl.css file.

    In that case, just add this line right after the @import url("../graphene/style.css"); line in your child theme’s style.css file:

    @import url("../graphene/rtl.css");

    It’s a hack, and adding that means that your child theme will always load the rtl.css file, regardless of the language being used.

    Kadi

    #12092

    that fixed it! thank you!

    Kadi

    #12093

    p.s. how do I submit the translation files? email? upload?

    Admin

    Syahir Hakim

    #12094

    I’ve sent an email to your registered email address. Send the translation file to that email address.

    Thanks!

    Kadi

    #12095

    Hello Syahir,

    I updated to the latest WordPress and Graphene. Child theme is still in place but for some reason its not rtl anymore and the font sizes are back as they were before.

    Is there anything I should be editing in the child style.css?

    /*
    Theme Name: Graphene Child
    Theme URI: http: //example.com/
    Description: Child theme for the Graphene theme
    Author: SMSF
    Author URI: http: //example.com/about/
    Template: graphene
    Version: 0.1.0
    */
    @import url("../graphene/style.css");
    @import url("../graphene/rtl.css");
    #menu li a, #menu li a:visited{
    font-size:18px;
    }

    #rss a {
    float: right;
    margin: 13px 10px 0 0;
    }
    #rss a.rss_link{
    margin-right:23px;
    }

Viewing 8 posts - 11 through 18 (of 18 total)

  • 1
  • 2
  • You must be logged in to reply to this topic.