RTL – Loading alternate CSS for plugins
-
Hi,
I’m working on the Hebrew translation. Almost done.
The problem is I need to load additional CSS for some plugins
For example in bp-core, I also need to load admin-bar-rtl.css
Can I expect something like this to be added to each of the plugins that is loading a custom css:
if (get_bloginfo('text_direction') == 'rtl')
echo '<link rel="stylesheet" type="text/css" href="'admin-bar-rtl.css" />'."nr";
The other solution is to add it manually, thus making any RTL translation much more troublesome to maintain and distribute…
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘RTL – Loading alternate CSS for plugins’ is closed to new replies.