Modding css with hooks

Hey guys,

I’m actually working on a clients website rather than my own.

What I want to do is change the margins on my logo and a couple of other little things (just like margins and colours, nothing drastic).

So I’ve identified that I need to change:


.logo-image {





But I want to do it using hooks because this is supposed to stop it from changing in future updates?

I’ve setup skins/skin_name/customer/addons/my_changes/hooks/index/ with the line of code.

Also, I’ve done …/my_changes/css/local_styles.css

I’ve just put that above code in with my changes but it’s not working.

Not sure if it helps, but heres the link to the site: [url][/url]

Thanks for any help!

Your site doesn’t work on both IE6 and IE7. Have you checked it? I think this is a serious problem as there are a lot of users who are using both of these browsers.

Hey joe,

No I haven’t. I haven’t been working on the project long although my client said it didn’t work for them perhaps due to a firewall. So, I asked around 10 other people and all said it was working for them.

I’m guessing it’s the template itself as I just restored it.


I’ve setup skins/skin_name/customer/addons/my_changes/hooks/index/ with the line of code.


What line of code?

Looking at your page source I do not see the above line being included.

Using firebug I do not see where a GET is being performed for local_styles.css

So your is not being invoked. Do you have another addon installed that is doing an override on this hook?

I’ve got that line of code inside

And I’m not sure what you mean by the GET. I haven’t set that up. Like I said, what I’ve done is in the OP.

And with the addon question, I’m not sure. I didn’t install the skin or any addons except for the my_changes one.

Now works on IE7 really well and IE6 not as well but it’s good enough. Seemed to have been a problem with the template and cs-cart compatibility but it’s all fixed now.

Still unsure of how to do the hooks properly so if anyone can help, that’d be great.