magento - Is it possible to use two different css styles for the same theme in two stores -


we using same theme 2 magento stores.

is possible change css styles differently both stores? in same root folder using different domains.

for example if change color navigation, change color in both stores.

is there explanation how this?

thank you

in magento, have store specific layout handle. can use same handle in local.xml add different css in same theme.

<store_custom1>   <reference name="head">         <action method="addcss"><stylesheet>css/store_custom.css</stylesheet></action>   </reference> </store_custom1>  <store_custom2>   <reference name="head">         <action method="addcss"><stylesheet>css/store_custom2.css</stylesheet></action>   </reference> </store_custom2> 

here custom1 , custom2 store view code.

you can check appied handles using below code:

print_r($this->getlayout()->getupdate()->gethandles()); 

Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -