*

bassem

  • **
  • 5 posts
[HELP]- Problem with RTL orintation for some elements
« on: March 17, 2017, 03:15:11 PM »
Hello

Would like to move some elements in the publish form from right to left, already created and edited the rtl.css changing the all float from left to right, still some elements including the drop down menus didn't change as shown in the following SS:










1-Would like to know if there is additional files I shall edit to adjust the orientation of these elements or it is a matter of additional code?
2- Would like to know which file to edit to modify the for itself, is it item.php only or there are other files must be edited to modify the publish form?

thank you very much, I really appreciate your help guys.

*

MB Themes

Re: [HELP]- Problem with RTL orintation for some elements
« Reply #1 on: March 17, 2017, 04:02:53 PM »
@bassem
First I would recommend to create CSS file for RTL language itself, that will be loaded just in case user select RTL.
They you can go trough elements and position them as needed.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

bassem

  • **
  • 5 posts
Re: [HELP]- Problem with RTL orintation for some elements
« Reply #2 on: March 17, 2017, 04:08:04 PM »
@bassem
First I would recommend to create CSS file for RTL language itself, that will be loaded just in case user select RTL.
They you can go trough elements and position them as needed.
Already created a RTL for all the css files
-Responsive
-style
-tabe
added the suffex (_rtl) for the three files, and changed all the float from left to right, I only didn't do it for the jquery-ui.min.css , do you think this is the issue?

*

MB Themes

Re: [HELP]- Problem with RTL orintation for some elements
« Reply #3 on: March 18, 2017, 06:47:58 AM »
@bassem
You even do not need 3 files, just one. It is not issue.
Floating is 1 thing, most important is to set:
Code: [Select]
body, html {direction:rtl;}
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

bassem

  • **
  • 5 posts
Re: [HELP]- Problem with RTL orintation for some elements
« Reply #4 on: March 18, 2017, 03:30:25 PM »
Thank you very much, it worked after adding the RTL direction to the RTL style ;D ;D

Now the last question:
3- Would like to know which file to edit to modify the publish  form itself, is it (item.php) only or there are other files must be edited to modify the publish form?

What I mean by modifying is to change fields location up and down, remove fields, write some note for the users beside the fields...etc


thanks again, I appreciate your time. 

*

MB Themes

Re: [HELP]- Problem with RTL orintation for some elements
« Reply #5 on: March 18, 2017, 08:09:21 PM »
@bassem
- if you want to change some strings, I recommend to do this via translation
- all related to item publish is in file item-post.php (and item-edit.php for editing)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots