cancel
Showing results for 
Search instead for 
Did you mean: 

Specifying Stylesheet in local.xml not working

Specifying Stylesheet in local.xml not working

Hello,

 

I have added the following code below </default> in the themes "local.xml" file:

<STORE_praesepe>
		<reference name="head">
			<!-- SO THAT PRAESEPE.CSS GOES UNDER STYLES.CSS-->
			<action method="removeItem"><type>skin_css</type><name>css/styles.css</name></action>
			<action method="addItem"><type>skin_css</type><name>css/styles.css</name></action>
			<action method="addItem"><type>skin_css</type><name>css/praesepe.css</name></action>
		</reference>
	</STORE_praesepe>

This has been copied and placed above a piece of code that IS working:

<STORE_starpubs>
		<reference name="head">
			<!-- SO THAT THWAITES.CSS GOES UNDER STYLES.CSS-->
			<action method="removeItem"><type>skin_css</type><name>css/styles.css</name></action>
			<action method="addItem"><type>skin_css</type><name>css/styles.css</name></action>
			<action method="addItem"><type>skin_css</type><name>css/starpubs.css</name></action>
		</reference>
	</STORE_starpubs>

The custom CSS file "starpubs.css" is working for http://starpubs.kellyseye.com/ for example the icons are blue.

 

However, the CSS file "praesepe.css" isn't working for https://praesepe.kellyseye.com/ where the pink icons (e.g. "basket.png") should be orange (e.g. "basket-orange.png").

 

The path for the images is: /skin/frontend/rwd/kellyseye/images

The path for the CSS is: /skin/frontend/rwd/kellyseye/css

The path for the local.xml is: /app/design/frontend/rwd/kellyseye/layout

 

Thank you.