AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

[Closed] RTL dosent working

8 Posts
3 Users
1 Reactions
1,267 Views
Posts: 8
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@bengueta)
Active Member
Joined: 5 years ago
[#15960]

i use this code on the css code at settings>style 

#wpforo #wpforo-wrap *{
direction: ltr !important;
}

but some how its dosent work 
i be happy to have code for it and also make it 50% wide
i did make it 50% wide but it wus just at the left side on the page

so i look to make it RTL and 50% at the middle ty for your help guys.


Topic Tags
7 Replies
Robert
Posts: 10753
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@robert)
Support Team
Joined: 3 months ago

@bengueta,

Please remove that CSS code as soon as possible.  Then delete all caches,  purge CDN if you have, go to forum front-end and press Ctrl+F5 to reset browser cache.

After this step update this topic and leave a direct link to your forum.

wpForo is well optimized for RTL, it'll automatically turn on once you change your WordPress language to some RTL language in Dashboard > Settings > General admin page.

BTW in your css code you are setting LTR not RTL. That's a totally wrong solution.


Posts: 8
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@bengueta)
Active Member
Joined: 5 years ago

i clean all catch i dont want to change the wordpress to RTL just the forum 
so i change the LTR on the code and its work ?

link to the forum
https://levelup.cash/Forum


2 Replies
Robert
Admin
(@robert)
Joined: 3 months ago

Support Team
Posts: 10753
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@bengueta,

I don't think so. It's not an easy task. You should copy all code from style-rtl.css file and replace the current code in the style.css file. Both files are located in /wp-content/plugins/wpforo/wpf-themes/classic/ directory. Once you changed the code, delete all caches, purge CDN if you have, go to forum front-end and press Ctrl+F5 to reset browser cache.


(@bengueta)
Joined: 5 years ago

Active Member
Posts: 8
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@robert hey robert can i some how change only the forum page and keep all the other pages on the same format ?? whitout code


Posts: 8
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@bengueta)
Active Member
Joined: 5 years ago

ok i just fix it to 

#wpforo #wpforo-wrap *{
direction: rtl !important;
}

and its working all good just one more questin 
how i do it 50% wide and keep it on the middle ?


Posts: 8
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@bengueta)
Active Member
Joined: 5 years ago

hooo its changed just a part of the forum not all of it like other i see :/


1 Reply
Moderator
(@martin)
Joined: 10 years ago

Support Team
Posts: 1011
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@bengueta,

As Robert mentioned the RTL is a big change in CSS code. You can see how big is it in the style-rtl.css file. So you'll not get a clean 100% result with the code you use. So the best why is changing the WordPress language to an RTL language. If you want to keep the dashboard in English you can use this plugin: https://wordpress.org/plugins/admin-language-per-user/


Share: