Thread: centering logo

Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21
  1. #11
    Join Date
    Dec 2006
    Posts
    42
    Plugin Contributions
    0

    Default Re: centering logo

    Quote Originally Posted by kobra View Post
    Please post what tools you have??

    Your graphic editor program -
    A short list of the file names of the images that you are working with for this

    We can go from there
    I don't know what you mean by tools exactly. As far as a graphics editor program, i don't have one per se. I have of course paint that comes with windows and I have a photo editor--kodak easy share. The "logo" is just word art created with microsoft word 2003.

  2. #12
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: centering logo

    The "logo" is just word art created with microsoft word 2003
    So how are you making this an image file?? you can not use a ??.doc file for this
    Zen-Venom Get Bitten

  3. #13
    Join Date
    Dec 2006
    Posts
    42
    Plugin Contributions
    0

    Default Re: centering logo

    Word art is an image created within a document. A person only has to copy that image into something like paint and save it with a name and image file type like .jpg or .bit or whatever.

  4. #14
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: centering logo

    .gif is probably not an option - so go back to my first post and name the file you create as logo.jpg and follow the edit that you need to make and where the file needs to be uploaded to.
    Zen-Venom Get Bitten

  5. #15
    Join Date
    Dec 2006
    Posts
    42
    Plugin Contributions
    0

    Default Re: centering logo

    Quote Originally Posted by kobra View Post
    .gif is probably not an option - so go back to my first post and name the file you create as logo.jpg and follow the edit that you need to make and where the file needs to be uploaded to.
    Actually yes, I can save it as .gif or .jpg or .tif or even .png
    But I don't know what you mean by 'follow the edit that you need to make'. What edit? I do know where to upload it to.

  6. #16
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: centering logo

    Quote Originally Posted by KoBra
    Now to make this easy if you have a graphics app that can create a gif - convert your image into a gif as logo.gif and upload this to your template/images folder.

    If not rename the jpg to logo.jpg and edit a copy of /includes/languages/english/header.php and find this and change the red text(this is case sensitive and needs to match your image name)
    Code:
    Code:
    define('HEADER_LOGO_IMAGE', 'logo.jpg');
    Edit is only required if the image is not to be a gif as logo.gif is the default in this file
    Zen-Venom Get Bitten

  7. #17
    Join Date
    Dec 2006
    Posts
    42
    Plugin Contributions
    0

    Default Re: centering logo

    <?php
    /**
    * @package languageDefines
    * @copyright Copyright 2003-2006 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: header.php 2940 2006-02-02 04:29:05Z drbyte $
    */
    // header text in includes/header.php
    define('HEADER_TITLE_CREATE_ACCOUNT', 'Create Account');
    define('HEADER_TITLE_MY_ACCOUNT', 'My Account');
    define('HEADER_TITLE_CART_CONTENTS', 'Shopping Cart');
    define('HEADER_TITLE_CHECKOUT', 'Checkout');
    define('HEADER_TITLE_TOP', 'Top');
    define('HEADER_TITLE_CATALOG', 'Home');
    define('HEADER_TITLE_LOGOFF', 'Log Out');
    define('HEADER_TITLE_LOGIN', 'Log In');
    // added defines for header alt and text
    define('HEADER_ALT_TEXT', 'Powered by Zen Cart :: The Art of E-Commerce');
    define('HEADER_SALES_TEXT', ' ');
    define('HEADER_LOGO_WIDTH', '400px');
    define('HEADER_LOGO_HEIGHT', '77px');
    define('HEADER_LOGO_IMAGE', 'logo.jpg');
    // header Search Button/Box Search Button
    define('HEADER_SEARCH_BUTTON','Search');
    define('HEADER_SEARCH_DEFAULT_TEXT', 'Enter search keywords here');
    ?>


    my code already said what you said to change it to.

  8. #18
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: centering logo

    Quote Originally Posted by KoBra
    A short list of the file names of the images that you are working with for this
    If you had supplied this as asked this could have been determined alot quicker

    You still have the css code for the background image header.jpg get rid of the red code!
    Code:
    #logoWrapper{
    	background-image: url(../images/header_bg.JPG);
    	background-repeat: repeat-x;
    	height:82px;
    	width:512px;
    	background-position: middle;
    	}
    your file:
    /includes/templates/blue_sky/images/logo.JPG

    Your code:
    define('HEADER_LOGO_IMAGE', 'logo.jpg');

    jpg and JPG are not the same!! Change one of them so that they match
    Zen-Venom Get Bitten

  9. #19
    Join Date
    Dec 2006
    Posts
    42
    Plugin Contributions
    0

    Default Re: centering logo

    Quote Originally Posted by kobra View Post
    If you had supplied this as asked this could have been determined alot quicker

    You still have the css code for the background image header.jpg get rid of the red code!
    Code:
    #logoWrapper{
        background-image: url(../images/header_bg.JPG);
        background-repeat: repeat-x;
        height:82px;
        width:512px;
        background-position: middle;
        }
    your file:
    /includes/templates/blue_sky/images/logo.JPG

    Your code:
    define('HEADER_LOGO_IMAGE', 'logo.jpg');

    jpg and JPG are not the same!! Change one of them so that they match

    Okay, I deleted the code in red. I changed the image file from *.JPG to *.jpg. Now my logo does not show up although there is a blank space left for it. www.heavenlycreationsoklahoma.com I think that I did exactly as you instructed, but perhaps not.

  10. #20
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: centering logo

    http://www.heavenlycreationsoklahoma...mages/logo.jpg

    Produces your image - you need to tripple check your edits, the files that control this, and where you have them loaded to - you current code is not calling any logo image nor the text alternate
    Zen-Venom Get Bitten

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. v150 Centering Logo
    By AkashicLounge in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 31 Aug 2012, 01:30 AM
  2. centering logo
    By fw541c in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 22 Sep 2011, 11:32 AM
  3. Centering Logo
    By stokeflyer in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 2 Oct 2008, 03:09 PM
  4. Help centering logo. No gap between the logo and text!
    By toxicgtr in forum General Questions
    Replies: 4
    Last Post: 7 Jan 2007, 01:24 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