Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2007
    Posts
    12
    Plugin Contributions
    0

    Default Header image cutoff

    My header image is cutoff, it shows the wrong size.

    I am using Zencart v1.3.8a.

    My stylesheet. I changed in both the classic and free_blue template.
    Code:
    #logoWrapper
    width:1023px;
    height:194px;
    background-image:url(../images/header-bg.jpg);
    background-repeat:no-repeat;
    }
    header.php (free_blue template)
    Code:
    // added defines for header alt and text
      define('HEADER_ALT_TEXT', 'MMO Gold Sales');
      define('HEADER_SALES_TEXT', '');
      define('HEADER_LOGO_WIDTH', '1023px');
      define('HEADER_LOGO_HEIGHT', '194px');
      define('HEADER_LOGO_IMAGE', 'logo.gif');
    The image in question is located at http://mmogoldsales.com.



    I have a headache for trying to fix this. Any help on getting this to stop being cutoff, would be appreciated.

  2. #2
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Header image cutoff

    locate the stylesheet_new.css

    Find this declaration:
    1. #headerContent {
      background:#1a7fb7 url('../images/header-bg.jpg') center center no-repeat;
      padding:10px;
      }
    Add this to it:
    1. height: 100px;
    The red text above need to be the size of your image......

  3. #3
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Header image cutoff

    Someone when writing this template went right out and wrote outside of the Zen Cart framework....

    While this was not necessary it is what they did so to control this look for and a height entry to:
    Code:
    #headerContent {
    background:#1a7fb7 url('../images/header-bg.jpg') center center no-repeat;
    padding:10px;
    height: 191px;
    }
    Zen-Venom Get Bitten

  4. #4
    Join Date
    Mar 2007
    Posts
    12
    Plugin Contributions
    0

    Default Re: Header image cutoff

    I actually went with
    Code:
    #headerContent {
    background:#1a7fb7 url('../images/header-bg.jpg') center center no-repeat;
    padding:1px;
    height: 194px;
    }
    Which worked great. Thank you both for helping me with this issue.
    1 down, 3 to go.

  5. #5
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Header image cutoff

    S,
    you are most welcome, glad you got the header fixed

    What are the other 2 problems, I could help you fix???

  6. #6
    Join Date
    Mar 2007
    Posts
    12
    Plugin Contributions
    0

    Default Re: Header image cutoff

    unfortunately, the other problems are things i think I will need to have coded.

    One however is getting the auction script to work with 1.3.8a.
    Zen-AuctionsV.095. I guess I should have stuck with 1.3.7 of Zencart.

 

 

Similar Threads

  1. Enlarge product picture is cutoff
    By ebaobao in forum Bug Reports
    Replies: 27
    Last Post: 29 Dec 2011, 08:38 PM
  2. The h is cutoff in the left side bar search button
    By wyocraft in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 20 Feb 2011, 08:24 PM
  3. Subcategory Image Height cutoff in IE
    By roostar26 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 16 Dec 2010, 06:56 PM
  4. Shipping(Step 2) Getting Cutoff
    By lindasdd in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 28 Sep 2007, 12:49 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