Thread: Header Problem

Results 1 to 10 of 10
  1. #1
    Join Date
    Jun 2006
    Posts
    11
    Plugin Contributions
    0

    Header Problem

    My store url is this http://www.sinistercreations.us/catalog/admin/zen-cart/
    How do I get the whole backround to be black and for the header image to continue in the whole frame as in not showing the old zen cart logo thing you see on the side?

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Header Problem

    The first comment I have for you is that you are starting your style modifications directly in the Classic template. This is a bad idea for two reasons:

    All your work will be wiped out the first time you upgrade to a newer version of the software, because Classic is part of the standard package and will be overwritten.

    The Classic template was provided for backward compatibility, to make it easier for users to upgrade old carts, and eventually will not work with future versions of Zen Cart. It is harder to modify than the template_default, which is recommended for all users as a base for modifications. (It's also harder for most of us to give advice on.)

    You need to make your own template (directions are given in the FAQs and many threads here) and turn it on in Admin, no matter what you use as a base, to save yourself future grief.

    For your questions:

    Your logo is only 651 pixels wide and will not fill the header by itself.
    Code:
     <tr><!-- All HEADER_ definitions in the columns below are defined in includes/languages/english.php //-->
                <td valign="middle" height="70px" width="200px">
    <a href="http://www.sinistercreations.us/catalog/admin/zen-cart/index.php?main_page=index"><img src="includes/templates/classic/images/logo2.jpg" alt="Is The Sin In You?" title=" Is The Sin In You? " width="651" height="205" /></a></td>
    You can either make a wider logo or give the header a black background in the stylesheet. Your stylesheet_original.css:
    Code:
    /*HEADER CSS*/
    
    TABLE.header {
      background-image: url(../images/header_bg.jpg); <-----delete old zc background
      background-repeat: repeat-x; <-----delete
      background-color: #ffffff; <-----change to #000000;
    One of the lovely things about Classic is the two stylesheets, which sometimes both define the same elements. In those cases, stylesheet_new will be ignored and stylesheet_original will rule because it is loaded last.

    The extra width you are seeing is because of warnings you are not seeing (black on black):

    Warning: main(includes/languages/english/html_includes/define_main_page.php): failed to open stream: No such file or directory in /home/sinister/public_html/catalog/admin/zen-cart/includes/templates/template_default/templates/tpl_index_default.php on line 39

    This is a whole other kind of problem which others can advise you on, but once you fix that the extra width will disappear.

  3. #3
    Join Date
    Jun 2006
    Posts
    11
    Plugin Contributions
    0

    Default Re: Header Problem

    is there anyway to change the apperance with out making a new template?

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Header Problem

    You *can* continue in Classic and make the changes there - just be aware that it will cause you major headaches down the road....

  5. #5
    Join Date
    Jun 2006
    Posts
    11
    Plugin Contributions
    0

    Default Re: Header Problem

    ok part of the problem that im haveing makeing a new template is that say I want to use future zen (template) I have installed it and everyhting but its not showing up in the admin section under template manger, so that I could change the apperance to my likeing.

  6. #6
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Header Problem

    Exactly which directory did you upload the new template to?

  7. #7
    Join Date
    Jun 2006
    Posts
    11
    Plugin Contributions
    0

    Re: Header Problem

    I uploaded it to / public_html / catalog / admin / zen-cart / includes / templates / (Current Folder) the whole future zen folder and everything is in that directory

  8. #8
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Header Problem

    you need to upload to
    /catalog/includes/templates/

    not in the admin

  9. #9
    Join Date
    Jun 2006
    Posts
    11
    Plugin Contributions
    0

    Default Re: Header Problem

    its not, its just there are two seperate folders called admin the first one is before you get to the zen cart folder

  10. #10
    Join Date
    Jun 2006
    Posts
    11
    Plugin Contributions
    0

    Default Re: Header Problem

    Ok this is prolly absurdly simple but its 4:00Am here and now I can't log in to the admin area I get this message

    Warning: main(includes/configure.php): failed to open stream: No such file or directory in /home/sinister/public_html/catalog/admin/zen-cart/admin/includes/application_top.php on line 74

    Warning: main(includes/configure.php): failed to open stream: No such file or directory in /home/sinister/public_html/catalog/admin/zen-cart/admin/includes/application_top.php on line 74

    Fatal error: main(): Failed opening required 'includes/configure.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/sinister/public_html/catalog/admin/zen-cart/admin/includes/application_top.php on line 74

 

 

Similar Threads

  1. Header problem in IE
    By strelitzia in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 26 Jan 2007, 06:03 PM
  2. Header Problem
    By dscott1966 in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 28 Nov 2006, 08:51 PM
  3. header problem in IE
    By ZuluRose in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 22 Nov 2006, 04:08 PM
  4. Header Problem
    By dscott1966 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 11 Nov 2006, 07:55 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR