Results 1 to 8 of 8
  1. #1
    Join Date
    May 2007
    Posts
    59
    Plugin Contributions
    0

    Default Help - I followed the instructions and something

    went wrong. I was trying to change the Zencart logo with my own logo on my packing slip and invoices and I followed the instructions here:

    https://www.zen-cart.com/tutorials/i...hp?article=256

    Now my admin page is totally messed up - The fonts are too large, and I can't see the category names. The icons are all misaligned and something is very wrong. I am lost as to what to do now. I should have left well enough alone.

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

    Default Re: Help - I followed the instructions and something

    Probably a stylesheet fault...

    when you inserted this:-

    PHP Code:
    .pageHeading img {width:200pxheight:70px}

    @
    media print {
        .
    pageHeading img {width:4inheight:1.4in}

    Did you forget the closing } (or similar error?)

    Make sure style declarations are delimited by { and } .

  3. #3
    Join Date
    Sep 2006
    Location
    Colorado Springs CO USA
    Posts
    516
    Plugin Contributions
    2

    Default Re: Help - I followed the instructions and something

    If the suggestion previously given doesn't fix it, it's probably best to replace the admin/includes/stylesheet.css with one from the originally downloaded files and go through the process again. Be very careful that you are editing the right stylesheet.css (there's more than one, so verify the path is admin/includes/stylesheet.css).

    Likewise, replace admin/header.php.

    You can then make the modifications in the tutorial and if followed correctly should fix the problem and give you your logo the way you want it.

    Another approach is to replace the files and then simply upload your logo image to the admin/images folder. Delete the existing logo.gif and rename your own logo image to logo.gif (or rename it before uploading). It's generally best to size your logo before uploading.

    Ron
    www.aspenshopsonline.com - ZenCart 1.3.9h
    www.wilkssupply.com - ZenCart 1.3.9h
    www.un-du.net - ZenCart 1.3.8a

  4. #4
    Join Date
    May 2007
    Posts
    59
    Plugin Contributions
    0

    Default Re: Help - I followed the instructions and something

    Thanks so much for the suggestions. I checked the PHP code in the stylesheet that I inserted and it looked like it was right. I tried deleting it and that didn't fix it either. I will have to try replacing the admin/includes/stylesheet.css and admin/header.php and hope that fixes it. I'm a little leary about doing that, but I'm not sure what else I can do. Will let you know the results.

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

    Default Re: Help - I followed the instructions and something

    Quote Originally Posted by lilrowo View Post
    Thanks so much for the suggestions. I checked the PHP code in the stylesheet that I inserted and it looked like it was right. I tried deleting it and that didn't fix it either. I will have to try replacing the admin/includes/stylesheet.css and admin/header.php and hope that fixes it. I'm a little leary about doing that, but I'm not sure what else I can do. Will let you know the results.
    If you follow some simple safeguards, then trying out modified php/css files is seldom a problem. Here's my own 5-point safeguard plan...

    1. ALWAYS ftp a COPY of the original file to your home computer, and do edits on the copy.
    2. BEFORE you ftp the edited copy BACK to the server, make sure you follow "over-ride" conventions (ie: when relevant, put the edited copy(ies) in your CUSTOM folder(s)).
    3. RE-NAME the original file (if it's a php or css file, I generally give it the file extension ".txt" . This prevents any chance of it being called by the programming)
    4. WRITE DOWN what you do, so you have a chronology of the steps you took, in case you need to reverse the procedure.
    5. When tinkering with the database ALWAYS create a backup first (and know the process for re-installing that backup)

  6. #6
    Join Date
    May 2007
    Posts
    59
    Plugin Contributions
    0

    Default Re: Help - I followed the instructions and something

    Okay, I replaced the admin/includes/stylesheet.css and the admin/header.php It worked somewhat, I can see the text and categories and such, but the heading graphics are missing and the format is not correct. Here's what my categories page looks like, and here's what it looked like before. What am I missing? Many thanks!
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	ZenImage1.jpg 
Views:	202 
Size:	66.6 KB 
ID:	3827   Click image for larger version. 

Name:	ZenImage2.jpg 
Views:	216 
Size:	60.7 KB 
ID:	3828  

  7. #7
    Join Date
    Sep 2006
    Location
    Colorado Springs CO USA
    Posts
    516
    Plugin Contributions
    2

    Default Re: Help - I followed the instructions and something

    It still looks like the admin/includes/stylesheet.css is messed up.
    Did you try to modify it at some point with a copy/paste operation? If you pasted the code from a good stylesheet directly into the top of an existing stylesheet without deleting the previous code, it's possible you have code from both stylesheets in the same file. Whichever conflicting code appears last in the file takes precedence. That's my best guess at what is going on.

    It's either that or your replacement stylesheet didn't get put in the right folder.
    www.aspenshopsonline.com - ZenCart 1.3.9h
    www.wilkssupply.com - ZenCart 1.3.9h
    www.un-du.net - ZenCart 1.3.8a

  8. #8
    Join Date
    May 2007
    Posts
    59
    Plugin Contributions
    0

    Default Re: Help - I followed the instructions and something

    I still can't get it right. I think I'm going to leave it alone for the time being until I can figure it out. I may have to take some time and re-do the whole thing with the most recent update.

 

 

Similar Threads

  1. Followed FAQ instructions to convert to SSL, still not working.
    By PathwayWebDesigns in forum General Questions
    Replies: 4
    Last Post: 23 Dec 2011, 12:03 AM
  2. followed instructions for installing slimbox, but having a problem with the last step
    By strugglingnovice in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 27 Jun 2010, 12:52 AM
  3. Significant Issue Moving root - followed instructions
    By ndillane in forum Installing on a Windows Server
    Replies: 3
    Last Post: 12 Jun 2009, 08:00 PM
  4. Replies: 2
    Last Post: 21 May 2007, 08:24 PM
  5. Problem with Moving Zen (Followed the Help Desk instruction)
    By AlexBlom in forum Basic Configuration
    Replies: 15
    Last Post: 3 Nov 2006, 08:53 AM

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