Page 1 of 2 12 LastLast
Results 1 to 10 of 26

Hybrid View

  1. #1
    Join Date
    Jan 2007
    Posts
    66
    Plugin Contributions
    0

    Default Changing the logo

    Hello everyone

    I am attempting to change the logo situated at the top left corner. I have followed the instructions as per https://www.zen-cart.com/tutorials/i...hp?article=256

    I am using the following ver

    Zen Cart 1.3.7

    Database Patch Level: 1.3.7

    v1.3.7 [2007-01-30 15:45:02] (Fresh Installation)


    I have not installed any new themes. An out of the box install.

    As per the instructions, I built my new logo (using firefox) as a GIF file being L551px x H71px called ssr.gif

    the file is located at "includes/templates/custom/images/ssr.gif"

    I then modified the header.php file as follows.

    // added defines for header alt and text
    define('HEADER_ALT_TEXT', 'My text in here');
    define('HEADER_SALES_TEXT', '');
    define('HEADER_LOGO_WIDTH', '551px');
    define('HEADER_LOGO_HEIGHT', '71px');
    define('HEADER_LOGO_IMAGE', 'ssr.gif');

    And saved the file to "includes/languages/english/custom/header.php"

    You will note that I have not used capitalized folder names as per the instructions simply becuase the original folder "english" wasn't capitalized from install. so I didn't think it mattered.

    The logo didn't change, nor did the text when you hover over the logo.

    I am somewhat perplexed by this, as these are the only set of instructions I can find to do this.

    Any comments would be most helpfull

    Fred

  2. #2
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Changing the logo

    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Jan 2007
    Posts
    66
    Plugin Contributions
    0

    Default Re: Changing the logo

    Quote Originally Posted by Kim View Post
    Thank for that Kim

    I have tried https://www.zen-cart.com/tutorials/i...hp?article=125 and I still cannot get it to work as described.

    Fred

  4. #4
    Join Date
    Jan 2007
    Posts
    66
    Plugin Contributions
    0

    Default Re: Changing the logo

    Update

    I have managed to change the logo, but I had to edit the "includes/languages/english/classic/header.php" directly.

    I have also noted that the LOGO_WIDTH & LOGO_HEIGHT definitions appear to make no difference to the logo and/or the way it appears. The LOGO_IMAGE definition did work.

    I know this is NOT the way it is meant to be done, but when all else fails, what else is left.

    Fred

  5. #5
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Changing the logo

    Did you select your custom template in the admin under tools->template selection?
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  6. #6
    Join Date
    Jan 2007
    Posts
    66
    Plugin Contributions
    0

    Default Re: Changing the logo

    Quote Originally Posted by afo View Post
    Did you select your custom template in the admin under tools->template selection?

    I don't have any custom templates installed. This is still an out of the box installation.

    Fred

  7. #7
    Join Date
    Feb 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: Changing the logo

    Aanii Afo and Kobra

    I have been reading this thread with interest as I need to change the logo on my zen cart also, like most people I guess.

    Anyway I followed all of the directions from both of you and I have a problem I can't quite figure out.

    I was able to change my template from admin - tools - templates to my new custom template using the files you listed in your post here in this thread.

    Well I must have missed something.

    My logo.gif is a picture that I am designing with so I'm using it as a place holder. I changed the sizes to my custom logo.gif in the includes/languages/english/My-Template-Name/header.php so the pic shows fine.

    The problem is the whole page is all shifted around. Nothing is in the right place and the left side boxes are pink?

    Here is my url so you can see for yourselves what the problem is.

    http://www.thecompleatblogger.com/productcenter

    Hopefully you can help me.

    I am new to zen cart however, I'm not new to html or css or php. I do know I made a big error somewhere

    Any and all help would be much appreciated.

    Have a marvelous week!

    Blessings,
    Bluedolphin

  8. #8
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: Changing the logo

    Looking at your site what I see is exactly what I would expect to see right after creating a custom template......The interesting colors are on purpose so that you can find them by their hex code in the stylesheet while learning the layout. Its the stylesheet from the default_template.....copy the stylesheet from the template_default to your custom template css directory and edit to your liking. It will then override the default stylesheet.
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  9. #9
    Join Date
    Feb 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: Changing the logo

    Aanii Mike

    Oh...thank you so much for your fast reply! And Whew I'm glad I didn't mess it up.

    It is good to hear that I have so much leeway to work with.

    I'll change the file you suggested and then tweek till it's what I am looking for.

    Your wonderful!

    Have a marvelous week,
    Blessings,
    Bluedolphin

  10. #10
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Changing the logo

    That's in the stylesheet. Here are some hints.

    Code:
    #navMainWrapper, #navSuppWrapper, #navCatTabsWrapper {
    	margin: 0em;
    	background-color: #9a9a9a; 
    	font-weight: bold;
    	color: #ffffff;
    	height: 1%;
    	width: 100%;
    	}
    
    
    #navBreadCrumb {
    	background-color: #cc9900; 
    	}
    
    
    .leftBoxHeading, .centerBoxHeading {
    	margin: 0em;
    	background-color: #FF6699;
    	padding: 0.5em 0.2em;
    	}
    I see Mike beat me to it!
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Changing the logo
    By kgorhan in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 18 Aug 2012, 12:37 PM
  2. Changing the logo
    By gamenet in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 8 Nov 2010, 01:58 AM
  3. Changing the 'Powered By, Zen Cart, the art of ecomerce' logo?!
    By cmerr85 in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 29 Nov 2009, 06:54 AM
  4. Changing the logo
    By deathbybutterscotch in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 27 May 2008, 10:26 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