Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    May 2008
    Posts
    349
    Plugin Contributions
    0

    Default Help banner not wide enough & on top of zen cart banner!!!

    Help, iam a newbie not very experienced here.

    Iam building my site, and put my banner on there, but it seems to be on top of the Zen cart banner. When i load up page, i see the Zen cart banner, then my banner goes on top of it.

    I also tried changing the width of the space for the banner, but doesnt seem to work. White bar with the home is over my banner, how could i move it all down so its under my banner.

    Please look at my site at www.qualityfoodguide.co.uk

    Thanks

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Help banner not wide enough & on top of zen cart banner!!!

    From your page source code, I see that you are using the CLASSIC template.

    You should create your own template system before editing code, so think about this...

    Anyway, what I propose is not a code edit...

    In: templates/classic/images

    you will see a file called header_bg.jpg

    FTP this file (image) to your hard drive (in binary mode, as it's an image)

    Open the image in an image editor (even MS "Paint" will do).

    Using the edit tools in your image editor, make the entire image white.

    Save the image (as header_bg.jpg)

    FTP this new image to: templates/classic/images

    When prompted by your FTP, OVER-WRITE the existing image.

    You now have a plain white header_bg as a background.
    20 years a Zencart User

  3. #3
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Help banner not wide enough & on top of zen cart banner!!!

    Quote Originally Posted by hcd888 View Post
    White bar with the home is over my banner, how could i move it all down so its under my banner.
    I recall a module in the Free Add-ons that changes the position of the address bar from ABOVE the logo, to BELOW the logo. I think this module was the work of Clyde Jones.

    EDITED because I found the mod:

    http://www.zen-cart.com/index.php?ma...roducts_id=132
    20 years a Zencart User

  4. #4
    Join Date
    May 2008
    Posts
    349
    Plugin Contributions
    0

    Default Re: Help banner not wide enough & on top of zen cart banner!!!

    Hi, thanks for getting back to me, ive included a picture here i meant, i wanted to moved the boxes down a bit, because it is covering my header.

    I think my picture describes it better, hope u can help, Thanks
    Attached Images Attached Images  

  5. #5
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Help banner not wide enough & on top of zen cart banner!!!

    Your logo IMAGE is 120 pixels deep, but your stylesheet says:

    Code:
    #logoWrapper{
    
    	background-image: url(../images/header_bg.jpg);
    
    	background-repeat: repeat-x;
    
    	background-color: #ffffff;
    
    	height:75px;
    Your logowrapper is asking for just 75 pixels !

    Change to:
    Code:
    #logoWrapper{
    
    	background-image: url(../images/header_bg.jpg);
    
    	background-repeat: repeat-x;
    
    	background-color: #ffffff;
    
    	height:120px;
    20 years a Zencart User

  6. #6
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Help banner not wide enough & on top of zen cart banner!!!

    ... and on the above point... my earlier post about header_bg.jpg

    ... Your header_bg.jpg should be sized to fit your WIDTH and HEIGHT dimensions as stated in your stylesheet:

    Code:
    #mainWrapper {
    
    	background-color: #ffffff;
    
    	text-align: left;
    
    	width: 950px;
    
    	vertical-align: top;
    
    	border: 1px solid #9a9a9a;
    
    	}
    and height:

    Code:
    #logoWrapper{
    
    	background-image: url(../images/header_bg.jpg);
    
    	background-repeat: repeat-x;
    
    	background-color: #ffffff;
    
    	height:120px;
    so your header_bg.jpg should be 950X120 px.
    20 years a Zencart User

  7. #7
    Join Date
    May 2008
    Posts
    349
    Plugin Contributions
    0

    Default Re: Help banner not wide enough & on top of zen cart banner!!!

    YAY

    Thanx Schoolboy u been a great help, many Thanks

    I really appreciate the help

 

 

Similar Threads

  1. White Space between top banner & define_main_page
    By carol2848 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 14 Feb 2012, 08:51 AM
  2. Layout not wide enough
    By purelypoultry in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 10 Mar 2010, 05:51 PM
  3. Question: Modifying Zen Cart Top Banner for Expandable Width
    By timotheos in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 16 Feb 2007, 04:29 PM
  4. Replies: 2
    Last Post: 4 Feb 2007, 08:39 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