Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1
    Join Date
    Oct 2010
    Posts
    61
    Plugin Contributions
    0

    Default Reduce the Main page header image to rise the content below.

    Hi,
    Mainly I tried to reduce the height of the main page's top image (the top image we can see on all of our zencart pages) to rise the page content that is below (from the first horizontal categorie list of zencart and below) .

    The image is reduced but the layout that is below doesn't go up.

    Secondly I would like to use this top image as a background of the zencart top page, to be able to write some text on it.

    Would it be possible?
    Thanks for any help you can give me.

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Reduce the Main page header image to rise the content below.

    It would help if we could see the site. You might check what the height of #logoWrapper is set to in the stylesheet.

  3. #3
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Reduce the Main page header image to rise the content below.

    Sorry, I'm not sure what you're asking. Your header image is 1427px × 244px (scaled to 1264px × 216px). If you want it smaller, you'll need to make it smaller in your image editing software.

  4. #4
    Join Date
    Oct 2010
    Posts
    61
    Plugin Contributions
    0

    Default Re: Reduce the Main page header image to rise the content below.

    Yes, I reduced it to 1427 x 145 and changed the size indicated in includes/templates/template_default/images.

    Doing this I hoped the beside whole page would go upper. But nothing goes up. It just leave a blank space between the image and the rest of the page.

    Would it be possible to reduce the image, get the rest of the page go up and use the image as a background to write text on it?

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

    Default Re: Reduce the Main page header image to rise the content below.

    You need to redefine the logo height and width:

    /includes/languages/english/your_template/header.php

    Line #22 : define('HEADER_LOGO_WIDTH', '192px');

    Line #23 : define('HEADER_LOGO_HEIGHT', '64px');

    Line #24 : define('HEADER_LOGO_IMAGE', 'logo.gif');

  6. #6
    Join Date
    Oct 2010
    Posts
    61
    Plugin Contributions
    0

    Default Re: Reduce the Main page header image to rise the content below.

    Quote Originally Posted by gjh42 View Post
    You need to redefine the logo height and width:

    /includes/languages/english/your_template/header.php

    Line #22 : define('HEADER_LOGO_WIDTH', '192px');

    Line #23 : define('HEADER_LOGO_HEIGHT', '64px');

    Line #24 : define('HEADER_LOGO_IMAGE', 'logo.gif');

    Thank you GJH42 but I need to keep the wide picture. And even if i reduce the height the below page doesn't rise up.

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

    Default Re: Reduce the Main page header image to rise the content below.

    Those are the default settings. You can change them to whatever you want. Your template could have any number of custom features, so we need to see it live to give complete correct advice.

  8. #8
    Join Date
    Oct 2010
    Posts
    61
    Plugin Contributions
    0

    Default Re: Reduce the Main page header image to rise the content below.

    Quote Originally Posted by gjh42 View Post
    Those are the default settings. You can change them to whatever you want. Your template could have any number of custom features, so we need to see it live to give complete correct advice.
    Dear Gjh42,
    I reduced the top image to let you give me the correct advice.
    I will change it as soon as you can give your advice as I don't like the white space you can see between the top image and the rest of the site.

    Thank you in advance.

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

    Default Re: Reduce the Main page header image to rise the content below.

    We can't help any more without seeing the site live.

  10. #10
    Join Date
    Oct 2010
    Posts
    61
    Plugin Contributions
    0

    Default Re: Reduce the Main page header image to rise the content below.

    Could somebody help me?

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. How can I reduce Time to First Byte of the main page
    By emill in forum General Questions
    Replies: 5
    Last Post: 8 Nov 2010, 11:54 PM
  2. How to put the content below images on the home page?
    By ashadweb in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 30 Sep 2010, 11:29 AM
  3. editing space below the featured box on the main page
    By monkeytastic in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 7 Aug 2009, 05:20 PM
  4. Add image below header on Main Page
    By extrahorizons in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 13 May 2008, 06:13 PM
  5. reduce the space height from header to main?
    By fulltilt in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 2 Oct 2006, 07:45 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