Thread: Centering Logo

Page 1 of 2 12 LastLast
Results 1 to 10 of 19
  1. #1
    Join Date
    Mar 2006
    Location
    Louisiana
    Posts
    42
    Plugin Contributions
    0

    Centering Logo

    I am sure this has been answered a thousand times, but I have been reading this forum for 3 days now off and on and I still cannot find out how to center the logo, I read the FAQ's, I read the archives, please, please can someone tell me how to do this, I am not a designer, coder, programer, just a little old lady trying her best to get this thing to look right. If you are kind enough to respond please talk very plain in a way that I can understand a step by step how to guide.

    Thank You


    http://suzeeqsgiftshop.com

  2. #2
    Join Date
    Dec 2005
    Posts
    53
    Plugin Contributions
    0

    Default Re: Centering Logo

    Try this thread:
    http://www.zen-cart.com/forum/showth...ht=center+logo

    If that's no help, post a link to your site - the people are very helpful here.

    Chris
    If it ain't broke, you're not trying hard enough...

  3. #3
    Join Date
    Mar 2006
    Location
    Louisiana
    Posts
    42
    Plugin Contributions
    0

    Re: Centering Logo

    Quote Originally Posted by cr33dog
    Try this thread:
    http://www.zen-cart.com/forum/showth...ht=center+logo

    If that's no help, post a link to your site - the people are very helpful here.

    Chris

    Thanks but I have tried that already and it did not work, I did post a link to the site.

    Thank You for Trying to aid me.
    Respect other in order to be respected.

  4. #4
    Join Date
    Dec 2005
    Posts
    53
    Plugin Contributions
    0

    Default Re: Centering Logo

    My apologies... I 'm going to call it a night on that - time for sleep!.

    Chris
    If it ain't broke, you're not trying hard enough...

  5. #5
    Join Date
    Dec 2005
    Posts
    53
    Plugin Contributions
    0

    Default Re: Centering Logo

    Well I do see this: (in the source of your page around line 37)

    Code:
     
    <a href="http://www.suzeeqsgiftshop.com/shop/index.php?main_page=index"><img src="includes/templates/template_default/images/logo.gif" alt="World of Products" title=" World of Products " width="760" height="110" /></a></center            </td>
                <td align="center" valign="top">
    <h1></h1>            </td>
              </tr>
            </table>
    Should look like:
    Code:
     
    <a href="http://www.suzeeqsgiftshop.com/shop/index.php?main_page=index"><img src="includes/templates/template_default/images/logo.gif" alt="World of Products" title=" World of Products " width="760" height="110" /></a></td>
              </tr>
            </table>
    That makes it center for me - where you need to change it is beyond me - I imagine it's in your template directory.

    Hope this helps somehow,
    Chris
    Last edited by cr33dog; 1 Jun 2006 at 08:23 AM. Reason: code tag slashes leaning the wrong way... :(
    If it ain't broke, you're not trying hard enough...

  6. #6
    Join Date
    Mar 2006
    Location
    Louisiana
    Posts
    42
    Plugin Contributions
    0

    Default Re: Centering Logo

    Thanks for looking, but I have no idea where to change that at either.
    Respect other in order to be respected.

  7. #7
    Join Date
    Dec 2005
    Posts
    53
    Plugin Contributions
    0

    Default Re: Centering Logo

    How about in :
    ZEN/includes/templates/classic/common/tpl_header.php (lines 54-56)

    Does yours look like this?:
    Code:
    <?php echo '<a href="' . zen_href_link(FILENAME_DEFAULT) . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?>
                </td>
                <td align="center" valign="top">
    If not, you may need to edit (start over?) that file. There's a good thread here:
    http://www.zen-cart.com/forum/showthread.php?t=36567

    Helpful -it shows how to make your own template folder(A Good Thing).

    I really am going to bed now...

    Chris
    If it ain't broke, you're not trying hard enough...

  8. #8
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Centering Logo

    In your stylesheet_original.css find this:

    Code:
    TABLE.header {
      background-image: url(../images/header_bg.jpg);
      background-repeat: repeat-x; change to background-repeat: no-repeat;
      background-color: #e1f5ff;
      border-right: 1px solid #9a9a9a;
      border-left: 1px solid #9a9a9a;
      border-bottom: 1px solid #9a9a9a;
      align: center; change to text-align: center;
    }
    Change the portions in red to what is showing in green and see if that works.

  9. #9
    Join Date
    Mar 2006
    Location
    Louisiana
    Posts
    42
    Plugin Contributions
    0

    Default Re: Centering Logo

    Quote Originally Posted by cr33dog
    How about in :
    ZEN/includes/templates/classic/common/tpl_header.php (lines 54-56)

    Does yours look like this?:
    Code:
    <?php echo '<a href="' . zen_href_link(FILENAME_DEFAULT) . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?>
                </td>
                <td align="center" valign="top">
    If not, you may need to edit (start over?) that file. There's a good thread here:
    http://www.zen-cart.com/forum/showthread.php?t=36567

    Helpful -it shows how to make your own template folder(A Good Thing).

    I really am going to bed now...

    Chris
    changed that, no change on logo, going look in the link you sent now
    Respect other in order to be respected.

  10. #10
    Join Date
    Mar 2006
    Location
    Louisiana
    Posts
    42
    Plugin Contributions
    0

    Default Re: Centering Logo

    Quote Originally Posted by clydejones
    In your stylesheet_original.css find this:

    Code:
    TABLE.header {
      background-image: url(../images/header_bg.jpg);
      background-repeat: repeat-x; change to background-repeat: no-repeat;
      background-color: #e1f5ff;
      border-right: 1px solid #9a9a9a;
      border-left: 1px solid #9a9a9a;
      border-bottom: 1px solid #9a9a9a;
      align: center; change to text-align: center;
    }
    Change the portions in red to what is showing in green and see if that works.

    Tried that, it did not change anything, thanks anyway
    Respect other in order to be respected.

 

 
Page 1 of 2 12 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