Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt November 11, 2024
Kfir Posted January 12, 2010 Posted January 12, 2010 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.
Enkidu Posted January 12, 2010 Posted January 12, 2010 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.
bfarber Posted January 12, 2010 Posted January 12, 2010 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.
Kfir Posted January 13, 2010 Author Posted January 13, 2010 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.
bfarber Posted January 13, 2010 Posted January 13, 2010 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.
Kfir Posted January 13, 2010 Author Posted January 13, 2010 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. :)
Enkidu Posted January 13, 2010 Posted January 13, 2010 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 :)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.