magento - Add custom CSS file in the header for only one language -


i want add custom css file arabic language.

i found how add css file local.xml this

<action method="additem"><type>skin_css</type><name>css/custom_style.css</name></action> 

but want specify 1 language only.

any idea how implement behavior?

in layout file can use code outside of default tag

<layout version="0.1.0">     <store_arabic>         <reference name="head">             <action method="addcss">             <stylesheet>css/custom_css.css</stylesheet>             <params>media="screen"</params>             </action>         </reference>     </store_arabic>     <default>        ...     </default> </layout> 

'arabic' store code.


Comments

Popular posts from this blog

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

matlab - error with cyclic autocorrelation function -

php - Using grpc in Laravel, "Class 'Grpc\ChannelCredentials' not found." -