rtl/arabic
-
Thanks, I did that and it worked, but the layout is messed up now! :/
Please take a look.
Admin
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.cssin 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
Admin
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’sstyle.cssfile:@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.
Admin
I’ve sent an email to your registered email address. Send the translation file to that email address.
Thanks!
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.
