Multi lanaguage css? - Joomla! Forum - community, help and support


how add custom css in multilange.

working on multi lanauge site http://zamzamsom.org/zamzamsom/ar/

now if see css

css.png


its show me temporary cahce folder things fonts or ever change want.

so how can cahnge it.

let want change font of enligshi "open sans" , arabic "arabci font x" how can write , different ciate on css.

i totally counuse how use css multilangue.

you can add different css files based on language variable.

code: select all

$app             = jfactory::getapplication();
$doc             = jfactory::getdocument();
$this->language  = $doc->language;
$this->direction = $doc->direction;


// add stylesheets
$doc->addstylesheet($this->baseurl . '/templates/' . $this->template . '/css/template-'.$this->language.'.css');





Comments

Popular posts from this blog

Joomal 3.6.3 update error - PHP temporary folder is not set - Joomla! Forum - community, help and support

Upgrade 3.4.8 to 3.5.1 failed "download package failed" - Joomla! Forum - community, help and support

Fatal error during instalation - Joomla! Forum - community, help and support