Where the CSS compressed?

Hi,

 

I liked to add functionality to CSS.

Before it wrapped into 1 file (or more) 

 

to add condition to it so if its RTL lang than use this link instead. 

 

it should like somthing like that (its just an example)

if (lang ==rtl)
{
<style>
  @import "http://www.yoursite.com/cssjanus/do/?file=/gzip_loader.php?file=bx_templ_css_37694b5defa683df4ea568895d6bdb95.css";
</style>
}

and it will be converted to RTL instead LTR

Always remember that the future comes one day at a time.
Quote · 26 Nov 2016

I guess compressed files are having various names as cache time expires. You should prepare a single separate css file with rtl rules and include it in "if" condition.

http://boonexpert.com
Quote · 26 Nov 2016

i want it before it being cached, in  the code. then i can put the string url

this way it will be cached as rtl

Always remember that the future comes one day at a time.
Quote · 26 Nov 2016

So why do you think it won't work? Your "if" conditions goes first, then the system will cache all files which were included in this condition.

Note that all pages have various sets of css files, so including cached css files simply won't work: there are many of them in cache directory and it's hard to figure which one is which.

I would recommend to create a single separate css file with all rules you need for RTL. This is how usually it works.

http://boonexpert.com
Quote · 26 Nov 2016

OK Thanks mate

Always remember that the future comes one day at a time.
Quote · 27 Nov 2016
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.