Notifications
Clear all

wpForo 1.x.x [Closed] RTL dosent working

8 Posts
3 Users
1 Reactions
560 Views
Posts: 8
Topic starter
(@bengueta)
Active Member
Joined: 3 years ago

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: 10520
Admin
(@robert)
Support Team
Joined: 8 years 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
(@bengueta)
Active Member
Joined: 3 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: 8 years ago

Support Team
Posts: 10520

@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: 3 years ago

Active Member
Posts: 8

@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
(@bengueta)
Active Member
Joined: 3 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
(@bengueta)
Active Member
Joined: 3 years ago

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

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

Support Team
Posts: 987

@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/