Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Jul 2008
    Posts
    41
    Plugin Contributions
    0

    Default Centering logo issues

    I'm having a problem centering my logo on my main site and I know it's due to the header_sales_text constant. How do I completely remove that? I tried commenting the line out but that doesn't work as it'll pull up the constant name. There has to be another file it's pulling it from and I've been looking for an hour and can't find it.

    Any help is appreciated.

  2. #2
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Centering logo issues

    Could you post your site URL?

  3. #3
    Join Date
    Jul 2008
    Posts
    41
    Plugin Contributions
    0

    Default Re: Centering logo issues

    Sure

    http://www.mddu.com/shop

    I have them set to have nothing as the text i.e. header_sales_text='' so you won't see any text but I'm sure that's what's keeping it from centering.

  4. #4
    Join Date
    Jul 2008
    Posts
    41
    Plugin Contributions
    0

    Default Re: Centering logo issues

    I commented those lines out again and it's showing up as the constant name. Also, where in the files would I physically place center tags so the logo will get centered.

    I just want to get rid of that header_sales_text. I have no use for it.

    Thanks

  5. #5
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Centering logo issues

    Firstly, don't comment out anything...

    Then in

    This code is from catalog/includes/languages/english/your_template/header.php

    Make sure:-

    PHP Code:
    define('HEADER_SALES_TEXT''');
    define('HEADER_LOGO_WIDTH''750px');
    define('HEADER_LOGO_HEIGHT''104px');
    define('HEADER_LOGO_IMAGE''logo.gif'); 

    Then, in your stylesheet...

    PHP Code:
    #taglineWrapper, #tagline {display:none;} 
    Then, re-create your logo.gif so that it corresponds with the dimensions in header.php above - centering the graphic as follows:
    Attached Images Attached Images  

  6. #6
    Join Date
    Jul 2008
    Posts
    41
    Plugin Contributions
    0

    Default Re: Centering logo issues

    Thanks. Got it all done and even found the page so I could physically get it centered.

    Thanks again.

    Anita

 

 

Similar Threads

  1. centering logo
    By fw541c in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 22 Sep 2011, 11:32 AM
  2. Centering Logo
    By fw541c in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 10 Aug 2010, 06:36 AM
  3. 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
  4. Centering Logo
    By PrincessLeah in forum Basic Configuration
    Replies: 30
    Last Post: 5 Aug 2006, 11:05 PM
  5. Centering Logo
    By rebelrose in forum Templates, Stylesheets, Page Layout
    Replies: 18
    Last Post: 1 Jun 2006, 10:33 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