Page 1 of 4 123 ... LastLast
Results 1 to 10 of 36
  1. #1
    Join Date
    May 2006
    Posts
    2
    Plugin Contributions
    0

    Default header_bg.jpg>>?

    I'd like to alter the size of the header image to be a little 'deeper' on my page. When I make a new image and upload it it obviously ownly fits in to the space assigned to it. I'm using classic template - what do I need to edit to allow for more height please?

    Thanks in anticipation

  2. #2
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: header_bg.jpg>>?

    includes/languages/english/YOURTEMPLATE/header.php

    You'll see the image dimensions settings there.
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Oct 2005
    Location
    New Mexico
    Posts
    393
    Plugin Contributions
    0

    Default Re: header_bg.jpg>>?

    You need to edit includes/languages/english/header.php. You should put a copy in your override folder first and then edit that file.

    // added defines for header alt and text
    define('HEADER_ALT_TEXT', 'Powered by Zen Cart :: The Art of E-Commerce [home link]');
    define('HEADER_SALES_TEXT', '<h1>Sales Message Goes Here</h1>');
    define('HEADER_LOGO_WIDTH', '200px');
    define('HEADER_LOGO_HEIGHT', '70px');
    define('HEADER_LOGO_IMAGE', 'logo.gif');
    You should consider building on the template_default or Kuroi's template rather than Classic if you are using 1.3+. Reasons stated many times in other posts.

    Good luck.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: header_bg.jpg>>?

    Bruce says it so much better than I
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Oct 2005
    Location
    New Mexico
    Posts
    393
    Plugin Contributions
    0

    Default Re: header_bg.jpg>>?

    And takes me longer to say it! (At least that's what they tell me at church).

    Did not mean to trample Dr. B's excellent answer. grin

  6. #6
    Join Date
    May 2006
    Posts
    2
    Plugin Contributions
    0

    Default Re: header_bg.jpg>>? not logo.gif....

    Thanks for replying...I did find that before I posted.....but that to me looks like the dimension setting for logo.gif, not header_bg.jpg which is the graphic that is displayed across the whole page at the top.( Which is what I want to edit.

    Any further ideas appreciated, thanks

  7. #7
    Join Date
    Oct 2005
    Location
    New Mexico
    Posts
    393
    Plugin Contributions
    0

    Default Re: header_bg.jpg>>?

    If this answer shows up twice - hit the 'send to abyss button.' Something timed out. Likely my brain without coffee.

    You might try -

    // added defines for header alt and text
    define('HEADER_ALT_TEXT', 'Powered by Jason :: Jason's Art of E-Commerce [home link]');
    define('HEADER_SALES_TEXT', '<h1>Jason has the products you need</h1>');
    define('HEADER_LOGO_WIDTH', '760px'); Use your image width
    define('HEADER_LOGO_HEIGHT', '200px'); use your image height
    define('HEADER_LOGO_IMAGE', 'header_bg.jpg'); Add your image to same folder logo.gif is in your custom template folder.

    Edit: If this does not help you, please post a url for the site.
    Last edited by Sermonzone; 31 May 2006 at 02:56 PM. Reason: To add request for url

  8. #8
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: header_bg.jpg>>?

    Yes that dimension is for the logo, but because the background is behind the logo it is affected by the dimension. Change the dimension and watch the magic happen.

  9. #9
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: header_bg.jpg>>?

    If you are still stuck, post a URL...
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  10. #10
    Join Date
    May 2006
    Posts
    5
    Plugin Contributions
    0

    Default Re: header_bg.jpg>>?

    Hi there;

    I have a question about this; I've created a new background in which included my logo, so I'd like to get rid of "logo.gif".
    Yes, I read FAQ "How to get rid of .... " but I still have [ x ] empty link on top of my background.
    Sorry guys, I, m newby.
    Thanks

 

 
Page 1 of 4 123 ... LastLast

Similar Threads

  1. header_bg.jpg
    By greatlakesherbalife in forum Basic Configuration
    Replies: 9
    Last Post: 21 Apr 2010, 11:12 AM
  2. header_bg.jpg
    By yellowdaises in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 25 Jul 2007, 11:19 PM
  3. header_bg.jpg
    By sammybotz in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 30 Mar 2007, 07:23 AM
  4. Header_bg.jpg
    By blackdream in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 20 Jul 2006, 03:08 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