Beruflich Dokumente
Kultur Dokumente
Yoav Farhi
@yoavf, yoav@farhi.org
http://blog.yoavfarhi.com
Monday, September 6, 2010
Prerequisites
To get the most out of this
presentation you should be familiar
with the basic structure of a
WordPress theme and have a good
grasp of CSS.
body {
direction:rtl;
unicode-bidi:embed;
}
input#url {
direction:ltr;
}
rtl.css #body {
text-align: right;
}
rtl.css #menu {
rtl.css #menu {
right: auto;
left: 2px;
}
Diagram CC http://css.flepstudio.org/en/css-box-model/introduction.html
rtl.css #content {
}
Monday, September 6, 2010
The Box Model
style.css #content {
margin: 30px 14em 0 3em;
padding-right: 60px;
border-right: 1px dashed #000;
}
rtl.css #content {
margin: 30px 3em 0 14em;
}
Monday, September 6, 2010
The Box Model
style.css #content {
margin: 30px 14em 0 3em;
padding-right: 60px;
border-right: 1px dashed #000;
}
rtl.css #content {
margin: 30px 3em 0 14em;
padding-right: 0;
padding-left: 60px;
}
Monday, September 6, 2010
The Box Model
style.css #content {
margin: 30px 14em 0 3em;
padding-right: 60px;
border-right: 1px dashed #000;
}
rtl.css #content {
margin: 30px 3em 0 14em;
padding-right: 0;
padding-left: 60px;
border-right: none;
border-left: 1px dashed #000;
}
Monday, September 6, 2010
Monday, September 6, 2010
Floats
style.css #content h2 {
float: right;
clear: left;
}
rtl.css #header {
background-position: 100% 0;
rtl.css #header {
background-position: 100% 0;
background-image: url(header-rtl.png);
}
rtl.css #header a{
background-position: ??? 0;
}
rtl.css
Don’t!
Translate in the
template files
http://poedit.net
functions.php
load_theme_textdomain( 'mytheme', get_template_directory() );
The codex
The codex
Multilingual Plugins