Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Oct 2006
    Posts
    75
    Plugin Contributions
    0

    Default Center that LOGO!!!

    Hello all,
    I have been reading posts so long, I'm almost blind. I need to center my logo.

    I followed the instructions below...

    Using an image editor, create your new logo and save it to includes/templates/CUSTOM/images/your_image_name.??? and upload it to your server.

    After creating your logo you can adjust the height, width and logo name in includes/languages/ENGLISH/header.php

    define('HEADER_ALT_TEXT', 'Powered by Zen Cart :: The Art of E-Commerce');
    define('HEADER_LOGO_WIDTH', '192px');
    define('HEADER_LOGO_HEIGHT', '64px');
    define('HEADER_LOGO_IMAGE', 'logo.gif');

    Did all that good stuff. Uploaded the header.php file to includes/langauges/english/custom/header.php

    Also, I've seen in some posts, directions telling me to edit my stylesheet.css file on the line that contains:

    #logo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
    float: left;
    }

    I can't find #logo in any file whatsoever. I even saw a post that said to "add"

    #logo {
    width: 100%;
    text-align: center;
    }

    to the bottom of my stylesheet.css.

    I'm having no luck! Any help would be great. Thanks!

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

    Default Re: Center that LOGO!!!

    What template are you using?
    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
    Oct 2006
    Posts
    75
    Plugin Contributions
    0

    Default Re: Center that LOGO!!!

    I am using the Standard ZenCart with a override of "custom"

  4. #4
    Join Date
    Oct 2006
    Posts
    75
    Plugin Contributions
    0

    Default Re: Center that LOGO!!!

    I've been reading more posts... I didn't answer your question correctly did I? I am using the "Classic" template. I followed a forum post by "NetworkDad" on configuring my overrides. I believe I used the Classic Template.

  5. #5
    Join Date
    Aug 2006
    Location
    Canada
    Posts
    1,029
    Plugin Contributions
    5

    Default Re: Center that LOGO!!!

    What version of cart? PM me your URL if you don't want to post it.

  6. #6
    Join Date
    Mar 2005
    Posts
    99
    Plugin Contributions
    0

    Default Re: Center that LOGO!!!

    hi,

    i just spent half the day doing this and now i find this....works great.

    Now my next logical step is to work out how to blend the logo over my background colour as it is a variable size page.

    what i mean is i have a logo with different colours at either end. So i can't just use one end as the fill for the background.

    I wonder how to split the background into 2 images, with one fill at either end please?

    does anyone know how to do this please?....or if there is a better way perhaps?

    Cheers!

    Tim

  7. #7
    Join Date
    Oct 2006
    Posts
    75
    Plugin Contributions
    0

    Default Re: Center that LOGO!!!

    I find this kinda weird...
    Using my FTP client, in the folder includes/templates.... I see "blue_strip", "classic", "custom", "future_zen" ...thanks Kuroi... & "template_default"

    The weird thing is, when I log into my ZenCart control panel, and go to "Tools" and "Template Selection" I dont get the option for "template_default"? I see the others but no default...

    Is this the norm? Or, am I a tard?

    Thank you.

  8. #8
    Join Date
    Apr 2006
    Posts
    413
    Plugin Contributions
    0

    Default Re: Center that LOGO!!!

    Quote Originally Posted by skunkworx View Post
    hi,

    i just spent half the day doing this and now i find this....works great.

    Now my next logical step is to work out how to blend the logo over my background colour as it is a variable size page.

    what i mean is i have a logo with different colours at either end. So i can't just use one end as the fill for the background.

    I wonder how to split the background into 2 images, with one fill at either end please?

    does anyone know how to do this please?....or if there is a better way perhaps?

    Cheers!

    Tim
    You can probably get a decent effect by using 2 images and in the stylesheet:

    #logoWrapper {
    background: url(..background image) repeat-x;
    height: whatever px;
    width: 100%;}

    #logo {
    background: url(..logo image) no-repeat;
    height: same as above px;
    width: 100%;}

    Say in the case of having your logo merge from the left to a background colour for just the header, the css for #logo would be float: left. The logo would be a gradient, bg solid colour. put the two together and it should look seamless in a 100% page size.

    though maybe I misunderstood what you're trying to achieve.

  9. #9
    Join Date
    Oct 2006
    Posts
    75
    Plugin Contributions
    0

    Default Re: Center that LOGO!!!

    So... back to my original thread then... How did SkunkWorx come in and re-direct my help...

  10. #10
    Join Date
    Apr 2006
    Posts
    413
    Plugin Contributions
    0

    Default Re: Center that LOGO!!!

    heh, yeah thread hi-jack!

    that is the norm, the template selection will not show template_default as an option.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. HELP!!!!!....Need to center My logo hench logo.gif on my main page
    By Robert Cooper in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 12 Jul 2013, 01:33 PM
  2. v139h Center center logo in header
    By brush4hire in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 23 May 2012, 01:44 PM
  3. Center logo in
    By Faith516 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 11 Feb 2011, 02:42 PM
  4. Center Logo In sidebox, trust logo ?
    By [email protected] in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 27 Feb 2007, 05:35 PM

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