My changes - Activated but not working

Hi Guys



I've activated the 'My changes' add-on in the admin section but unable to change settings (it's greyed out) - any ideas?



Cheers

There are no settings for this addon.



you will need to create the my_changes directory under addons in your active skin directory and then add a hooks directory inside that and an index directory inside the hooks directory:



addons → my_changes → hooks → index



Inside index add styles.post.tpl and add:



your custom styles or a tag to the location of your custom styles.css

Thanks ticeholdings - worked a treat



Though how do I make the 'my changes' stylesheet i've created the last to be picked up…after base.css and dropdown.css etc…?



Cheers

Make sure to name the style sheet “styles.css” and any styles there will override the default style for elements.

[quote name='ticeholdings' timestamp='1360942023' post='155436']

Make sure to name the style sheet “styles.css” and any styles there will override the default style for elements.

[/quote]



Yes - the stylesheet is names styles.css and referenced but still not taking priority - It can pick up the styling if I force !important but obviously don't want to do that on every one!



Any other ideas?

Post the contents of your styles.post.tpl and your styles.css here.



What is the url of your site?



I'm assuming that you did clear your browser and cs-cart cache

Yes cleared cache



http://dev.ohsobritish.co.uk/



[color=#282828][font=arial, verdana, tahoma, sans-serif]styles.post.tpl[/font][/color]



Thanks!

What styles are trying to override with it?



Can you post the styles.css content here as well

Lots really - here is one for the logo





.logo-container .logo{

margin-top:0;

margin-bottom:20px;

-moz-border-bottom-colors: none;

-moz-border-bottom-colors: none;

-moz-border-right-colors: none;

-moz-border-top-colors: none;

border-image: none;

border-left: 1px solid #fff;

border-radius: 0 0 5px 5px;

border-right: 1px solid #fff;

border-width: 0 1px 1px 1px;

}

I think it is working actually - some styles aren't being picked up but I think it's something I'm doing wrong. Thanks so much for your help!!

The server side caching in CS-Cart needs an update. It is not the most fluid I've seen.

You're welcome

You've got to remember that styles are cascading so if your base.css or styles.css is:


.logo-container .logo{
margin-top:0;
margin-bottom:20px;
-moz-border-bottom-colors: none;
-moz-border-bottom-colors: none;
-moz-border-right-colors: none;
-moz-border-top-colors: none;
border-image: none;
border-left: 1px solid #fff;
border-radius: 0 0 5px 5px;
border-right: 1px solid #fff;
border-width: 0 1px 1px 1px;
}




And in your custom style sheet, you put:


.logo-container .logo{
-moz-border-bottom-colors: none;
-moz-border-bottom-colors: none;
-moz-border-right-colors: none;
-moz-border-top-colors: none;
border-image: none;
border-left: 1px solid #fff;
border-radius: 0 0 5px 5px;
border-right: 1px solid #fff;
border-width: 0 1px 1px 1px;
}




The margin top of 0 and the margin-bottom of 20 will still be shown. You'd have to actually change those values in your sheet.



Thanks,



Brandon

Brilliant. Thanks so much for your time. Helped massively :)