Forums / Templates, Stylesheets, Page Layout / nothing changes when stylesheet.css modify and saved

nothing changes when stylesheet.css modify and saved

Locked
Results 1 to 8 of 8
This thread is locked. New replies are disabled.
16 Jan 2009, 01:11
#1
odanenico avatar

odanenico

New Zenner

Join Date:
Jan 2009
Posts:
5
Plugin Contributions:
0

nothing changes when stylesheet.css modify and saved

Hiya I am havibg a fits with my custom template i Have followed all the instruction to make my custom template have changed it from the classic ant thats ok.

The problem now is that i have followed the instruction on how to change the header image done the image and save it to the includes/templates/CUSTOM/images/

When I changed the stylesheet css and saved it nothing happened
the same thing also hapen when i tried changing the sidebox header to my custom image
Please Help
16 Jan 2009, 02:06
#2
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Posts:
2,276
Plugin Contributions:
0

Re: nothing changes when stylesheet.css modify and saved

all CSS files gets cached in your browser , try to empty the cache and reload the page again and see if that will show the change.
16 Jan 2009, 04:54
#3
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Posts:
4,572
Plugin Contributions:
0

Re: nothing changes when stylesheet.css modify and saved

In your "includes/templates/CUSTOM/css/stylesheet.css" make sure to use:

url(../images/some_image.gif)

for the image location.
16 Jan 2009, 11:15
#4
odanenico avatar

odanenico

New Zenner

Join Date:
Jan 2009
Posts:
5
Plugin Contributions:
0

Re: nothing changes when stylesheet.css modify and saved

Thanks for the suggestion I have tried it but it still dosent work
I have installed firefox web developer browser and have viewed the css for the page and see where the css for the header1.jpg it says the Height:0px width: 0px No Image defined
but i have followed the instruction so i dont know what happening
16 Jan 2009, 12:50
#5
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Posts:
4,572
Plugin Contributions:
0

Re: nothing changes when stylesheet.css modify and saved

Have you confirmed the image is where it is supposed to be?

Got a URL to see?
16 Jan 2009, 12:55
#6
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Posts:
2,957
Plugin Contributions:
0

Re: nothing changes when stylesheet.css modify and saved

There are only three possible scenarios here:

1. The image file is not in its correct folder - remember, these files (identically named in a standard install) will exist in the respective folder in classic template as well as your custom template - and any other templates you have.

2. The file is incorrectly named - including the possibility of using the wrong case in the letters or digits, and/or the file extension.

3. The file was uploaded to the server via FTP using ascii mode, or it got corrupted during the FTP process.

(Unless you fiddled with the PHP code), there is no possibility that your php code calling the image is incorrect.
16 Jan 2009, 13:27
#7
misty avatar

misty

Inactive

Join Date:
Apr 2004
Posts:
5,752
Plugin Contributions:
1

Re: nothing changes when stylesheet.css modify and saved

fairestcape:

There are only three possible scenarios here:

1. The image file is not in its correct folder - remember, these files (identically named in a standard install) will exist in the respective folder in classic template as well as your custom template - and any other templates you have.

2. The file is incorrectly named - including the possibility of using the wrong case in the letters or digits, and/or the file extension.

3. The file was uploaded to the server via FTP using ascii mode, or it got corrupted during the FTP process.

(Unless you fiddled with the PHP code), there is no possibility that your php code calling the image is incorrect.


Add
4. Two stylesheets exist with one overwriting the other..
16 Jan 2009, 13:52
#8
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Posts:
2,957
Plugin Contributions:
0

Re: nothing changes when stylesheet.css modify and saved

4. Two stylesheets exist with one overwriting the other..

Ah ... of course this is true in the case of stylesheets.

If you have been storing duplicate stylesheets alongside the standard one... eg:

stylesheet.css (the original)

then a few that you're using to "test" any changes:

stylesheet_test1.css
stylesheet_test2.css

... the contents of these are likely to override the original. Zencart loads and reads all stylesheets chronologically.

So, either DELETE unnecessary stylesheets, or rename then to a .txt file type