Hi!
I want to set the theme from right to left for an Arabic blog
I use this code:
html { direction:rtl; unicode-bidi:embed; }
in: fp-interface/themes/leggero/leggero-v2/res/common.css
But not thing is changed unfortunately
Would you mind help me please
Arabic RTL direction
Re: Arabic RTL direction
Unless someone more expert than me can solve your problem, the only advice I can give you is to use a RTL structured theme, like for example Bluebayou or iGray (this one available in both ways RTL and LTR).
Re: Arabic RTL direction
Hi, and welcome to the FlatPress support forum!
I have a freshly installed FlatPress with Leggero v2 as active theme. I just add these two lines to the defintion of "html" in fp-interface/themes/leggero/leggero-v2/res/common.css:

Refreshing the page, I instantly see the punctuation marks (!?.) have moved from the right to the left side ("!Welcome to FlatPress" instead of "Welcome to FlatPress!"):

Can you get it working this way?
All the best,
Arvid

I have a freshly installed FlatPress with Leggero v2 as active theme. I just add these two lines to the defintion of "html" in fp-interface/themes/leggero/leggero-v2/res/common.css:
Code: Select all
direction:rtl;
unicode-bidi:embed;

Refreshing the page, I instantly see the punctuation marks (!?.) have moved from the right to the left side ("!Welcome to FlatPress" instead of "Welcome to FlatPress!"):

Can you get it working this way?
All the best,
Arvid
Helpful FlatPress links: Project blog
- FlatPress wiki
- FlatPress@Twitter
- FlatPress@Mastodon 
Stay up to date with our feeds: Forum RSS feed
- Project blog RSS feed 
Feel free to say Thank you: Donate
How to rework your themes and plugins for FlatPress 1.3 / Smarty 4 
Stay up to date with our feeds: Forum RSS feed
Feel free to say Thank you: Donate
Re: Arabic RTL direction
If you followed the suggested steps and still don't see the effect, please clean the FlatPress template cache: Go to your admin area, then "Maintain" -> "Purge theme and templates cache".
To be sure your browser cache doesn't cause trouble, just reload your blog with Ctrl+F5. This forces the browser to freshly fetch every ressource of the page from the server: Images, scripts, style sheets.
Let us know if that worked for you!
All the best,
Arvid
To be sure your browser cache doesn't cause trouble, just reload your blog with Ctrl+F5. This forces the browser to freshly fetch every ressource of the page from the server: Images, scripts, style sheets.
Let us know if that worked for you!
All the best,
Arvid
Helpful FlatPress links: Project blog
- FlatPress wiki
- FlatPress@Twitter
- FlatPress@Mastodon 
Stay up to date with our feeds: Forum RSS feed
- Project blog RSS feed 
Feel free to say Thank you: Donate
How to rework your themes and plugins for FlatPress 1.3 / Smarty 4 
Stay up to date with our feeds: Forum RSS feed
Feel free to say Thank you: Donate
Who is online
Users browsing this forum: No registered users and 1 guest