Results 1 to 8 of 8
  1. #1
    Join Date
    Jan 2009
    Posts
    6
    Plugin Contributions
    0

    Default 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

  2. #2
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default 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.

  3. #3
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default 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.

  4. #4
    Join Date
    Jan 2009
    Posts
    6
    Plugin Contributions
    0

    Default 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

  5. #5
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default 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?

  6. #6
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default 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.

  7. #7
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: nothing changes when stylesheet.css modify and saved

    Quote Originally Posted by fairestcape View Post
    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..

  8. #8
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default 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

 

 

Similar Threads

  1. v153 My stylesheet.css changes arent immediately taking effect, standard steps taken.
    By evosmash in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 13 Sep 2015, 02:23 AM
  2. CSS / Stylesheet changes not saving
    By donzi in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 30 Mar 2013, 10:55 PM
  3. Stylesheet changes do nothing?
    By Ambitions in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 26 May 2010, 10:22 PM
  4. need to do some changes in stylesheet.css
    By gnplaza in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 6 Jul 2008, 05:17 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR