Results 1 to 10 of 11

Hybrid View

  1. #1
    Join Date
    Aug 2005
    Posts
    27
    Plugin Contributions
    0

    Default Centering Logo.gif File.

    I have replaced the logo.gif file with my own logo.gif file but with the same name. I have removed the tagline. Now I would like to center my logo.gif file in the space that the original logo.gif occupied. Using the Logo float setting I can only get the image to move to the left or the right but not centered. Even better I would like it not only to be centgered but to occupy all the space therein. Thanks.

  2. #2
    Join Date
    Jan 2005
    Location
    Lake Havasu, AZ
    Posts
    1,149
    Plugin Contributions
    0

    Default Re: Centering Logo.gif File.

    Change #logo to
    $logo
    {text-align: center;
    margin: auto}

    In the file YOURTEMPLATE/COMMON/tpl_header.php

    change the <div class="logo"> to <div id="logo">


    Should center right up.

    Hope that helps
    When the world gets in my face I say Have A Nice Day.
    * I DO Think and I HAVE BEEN Zenned - therefore, I AM * I donate - do you?
    Custom Templates and Zen Services CRS Designs, Inc.

  3. #3
    Join Date
    Aug 2005
    Posts
    27
    Plugin Contributions
    0

    Default Re: Centering Logo.gif File.

    Thanks Tina. That work as you indicated.

    Now I have a rectangle within a rectangle. How can I fill up the outer rectangle with the image in the inner rectangle. I can control the padding above the inner rectagle by changing the padding- top in the css file:
    #logo {
    text-align: center;
    PADDING-RIGHT: 0px;
    PADDING-LEFT: 0px;
    PADDING-BOTTOM: 0px;
    VERTICAL-ALIGN: middle;
    PADDING-TOP: 10px
    }

    However, the padding-bottom does not control the space beneath the inner rectangle. Once again thanks.

  4. #4
    Join Date
    Jul 2006
    Posts
    13
    Plugin Contributions
    0

    Default Re: Centering Logo.gif File.

    I am interested in centering my logo as well...though can't find the file/directory you seem to be referencing...

    Could you tell me in which file do I need to change the "#logo to $logo"?

  5. #5
    Join Date
    Jan 2005
    Location
    Lake Havasu, AZ
    Posts
    1,149
    Plugin Contributions
    0

    Default Re: Centering Logo.gif File.

    On filling the outer box - you will want to use your logo as a header background - or do a little tweeking to the inlcudes/templates/YOURTEMPLATE/tpl_header.php


    As for which file we are referring to in centering the logo - it is includes/templates/YOURTEMPLATE/css/stylesheet.css

    OHHHH and I see a typo in my own code there
    Change #logo to
    $logo
    {text-align: center;
    margin: auto}

    SHOULD READ :

    Change #logo to
    #logo
    {text-align: center;
    margin: auto}


    Hope that helps
    When the world gets in my face I say Have A Nice Day.
    * I DO Think and I HAVE BEEN Zenned - therefore, I AM * I donate - do you?
    Custom Templates and Zen Services CRS Designs, Inc.

  6. #6
    Join Date
    Jul 2006
    Posts
    13
    Plugin Contributions
    0

    Default Re: Centering Logo.gif File.

    Thanks for your reply Tina!

    I'm sorry to be a pain...but I don't see a line of code with "#logo" at all in my stylesheet...

    Also, I don't want to make the logo fill the whole space, but I am concerned that I don't have the tpl_header.php file in the /my_template directory...

 

 

Similar Threads

  1. Centering Logo.gif
    By Harvezter in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 23 Oct 2009, 02:10 AM
  2. Icon.gif and Logo.gif
    By patwithds in forum General Questions
    Replies: 5
    Last Post: 27 Aug 2009, 05:48 PM
  3. Need to put a swf file for the header, instead of logo.gif
    By brodywebdesign in forum General Questions
    Replies: 1
    Last Post: 31 Mar 2008, 10:55 AM
  4. Replace Logo.gif with an HTML File
    By ner0tik in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 14 Jul 2007, 08:35 PM
  5. 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

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