Jump to content

ipb_rtl.css


Kfir

Recommended Posts

Posted

Could you make it so there is an ipb_rtl.css for each skin, and not globally for all skins, as each skin needs customized edits.

Posted

Could you make it so there is an ipb_rtl.css for each skin, and not globally for all skins, as each skin needs customized edits.




what do you mean? you CAN have an ipb_rtl.css per skin by copying it to your skin's CSS directory.
Posted

We will load the RTL css from the skin's directory if present, and fall back to the global one if not. As such, skins that need to can override the RTL properties for their skin, while the majority of skins that aren't really too dramatically different from the default can benefit from using the default RTL css file and not having to work on and maintain their own.

Posted

If I add the ipb_rtl.csss to the skin's directory it will affect the LTR version too.
I want the skin to work in both RTL and LTR versions.

Posted

No it won't.... :blink: Or shouldn't at least, and doesn't in my testing.

Look at skin_global -> includeRTL()

Every if statement verifies the language selected is an RTL language before it attempts to import any new CSS files.

Posted

No it won't.... :blink: Or shouldn't at least, and doesn't in my testing.



Look at skin_global -> includeRTL()



Every if statement verifies the language selected is an RTL language before it attempts to import any new CSS files.




Oh I'm sorry, I added it via the ACP my fault. Works great. :)
Posted

No it won't.... :blink: Or shouldn't at least, and doesn't in my testing.



Look at skin_global -> includeRTL()



Every if statement verifies the language selected is an RTL language before it attempts to import any new CSS files.




for me it will because I changed the template and put ipb_rtl along the other CSS files so that there are no JS files sandwiched between CSS files. The reason for that is to speed up page loading :)

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...