I have a problem that I tried to fix for three weeks now, reading everything in this forum and net. I want to edit templates with hooks and here s what I did:
I created “styles.post.tpl” in the directory /skins/basic/customer/addons/my_changes/hooks/index/
In this file I copied this text:
I created “styles.css” in the directory /skins/basic/customer/addons/my_changes/
In this file I copied some examples:
a, a:visited, a:hover, a:active {
color: #f27a00;
}
body, div, p {
color: #353535;
font: normal 130px Verdana, Arial, sans-serif;
}
body {
background: #E22028 none;
}
AND THEN… nothing happens. The homepage is still the same.
I tried to clear cache, again nothing.
I disabled and enabled My Changes addon, again nothing.
I have a problem that I tried to fix for three weeks now, reading everything in this forum and net. I want to edit templates with hooks and here s what I did:
I created “styles.post.tpl” in the directory /skins/basic/customer/addons/my_changes/hooks/index/
In this file I copied this text:
I created “styles.css” in the directory /skins/basic/customer/addons/my_changes/
In this file I copied some examples:
a, a:visited, a:hover, a:active {
color: #f27a00;
}
body, div, p {
color: #353535;
font: normal 130px Verdana, Arial, sans-serif;
}
body {
background: #E22028 none;
}
AND THEN… nothing happens. The homepage is still the same.
I tried to clear cache, again nothing.
I disabled and enabled My Changes addon, again nothing.
Is there somthing else I can do to fix this?
Thank You
[/quote]
Also remember to clear your “Browser Cache” when making changes to CSS (or just disable it until finished).
No, white space (or newlines) don't matter to html…
So your css file is being included in the pages but your properties are not being used.
In this case (assuming you don't have any browser errors about syntax problems in the css file), you will need to use a tool such as firebug for FireFox to “inspect” the page and see where the style definition is being pulled from for the element in question.
If you are not familiar with use of css, suggest you hire someone who can help you. It will be money well spent.