Results 1 to 3 of 3
  1. #1
    Join Date
    May 2006
    Posts
    36
    Plugin Contributions
    0

    Default header_bg doesn't show

    I'm going round and round in circles. I created a couple of templates to test (just simple changes) and then I downloaded a couple of the contributed templates. One of these templates didn't show up the header_bg file - just a plain colour. So I put a question on the help section for contributed templates (no reply so far). Then I started a new template and discovered that I cannot get a background to show up in it either (even if I make no changes at all).
    So I figured I must have changed something inside the wrong file. I searched through all the files for changes made in the last month and none of them are located outside of <mytemplate> folder. The original templates I was messing with - Classic contemporary green and my 2 tests show up the background image. The last downloaded template and any new tests I create do not.

    What have I done wrong here? Where is the file I messed up? Or how can I recover?

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

    Default Re: header_bg doesn't show

    If you call up your home page, then view the html source, you will see the paths that your shop is trying to reference for your images. Look for the paths to your "logo.gif" (or logo.jpg). This path will indicate what template you are using. Make sure the appropriate header_bg.jpg (or gif) is in the images folder of that template.

    In your zenshop admin console, under Tools, use "Template Selection" to do just that... select the template.
    20 years a Zencart User

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

    Default Re: header_bg doesn't show

    You probably won't see "header_bg.jpg" in the source code as it's a STYLESHEET call. The div ID is logoWrapper, and that divID also applies to logo.jpg (or logo.gif). So the path to logo.jpg will also be the path to header_bg. Just make sure header_bg is in the same folder.

    If you look at stylesheet.css, you'll probably see:-

    PHP Code:
    #logoWrapper{
        
    background-imageurl(../images/header_bg.jpg);
        
    background-repeatrepeat-x;
        
    background-color#ffffff;
        
    height:75px;
        } 
    ... or similar.

    That is the CSS reference for any div ID in your sourcecode for logoWrapper.
    20 years a Zencart User

 

 

Similar Threads

  1. Big Header_bg Won's Show Properly
    By Kennym in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 11 Apr 2010, 06:52 PM
  2. Tax doesn't show up
    By axip in forum Basic Configuration
    Replies: 4
    Last Post: 12 Jun 2007, 06:20 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