Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2009
    Posts
    435
    Plugin Contributions
    0

    Default increase gap at bottom of product listing page before 'new products for' box

    Hi,

    I'd really like to know how to increase the gap between the last product at the bottom of the page on all the products listings page and the 'new products for june...' box.

    Thanks

  2. #2
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: increase gap at bottom of product listing page before 'new products for' box

    The <div> that hold the product listing is called #productListing.

    So, add a style into your stylesheet.css file that says something like:

    #productListing{margin-bottom:100px;}

    It can go anywhere in the file.

    Your stylesheet should be at includes / templates / YOUR TEMPLATE / css /

    Nik

  3. #3
    Join Date
    Mar 2009
    Posts
    435
    Plugin Contributions
    0

    Default Re: increase gap at bottom of product listing page before 'new products for' box

    Thank you so much! That works perfectly


    I'm wondering if you may be able to help with this also;

    my website is at; http://www.thegreatgiftshop.co.uk/zencart/

    It's a question just about the homepage, as you can see ive made the background a very pale yellow/cream colour but there's still white around this ie behind the side boxes and I'd like this white space to be the same cream colour also. But I don't want all of the white space on the homepage to be cream, ie the top bit above the bit thats white with 'home'

    I've included an image to show which section I want cream and which to remain white.
    Attached Images Attached Images  

  4. #4
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: increase gap at bottom of product listing page before 'new products for' box

    Wow I am havign problems seeing that on this laptop. Iblame it on the poor screen and not my ageing eyes!

    I have attached a screenshot with some particularly horrible colours. If this demonstrates what you want then this is how to do it:

    Firstly add the following styles to the bottom of the stylesheet

    Code:
    #headerWrapper{background-color:yellow;}
    #contentMainWrapper{background-color:pink;}
    I thought this would do it but somewhere in your stylesheet you have background colors assosciated to #navBreadCrumb and #indexCategories. So, either change those existing rules (you can just delete the background color statement from them ) or add at the bottom of the stylesheet:

    Code:
    #navBreadCrumb{background-color:pink;}
    #indexCategories{background-color:pink;}
    This will overwrite them. It is messier so it is better to go back and find where you have set the colours for these two divs and either set it to pink or delete the color part of the rule. Actually, you can probably find a better place to put the top two rules too but I was lazy and put them at the bottom.

    Obviously I am not suggesting that you keep the pink and yellow!

    Nick
    Attached Images Attached Images  

  5. #5
    Join Date
    Mar 2009
    Posts
    435
    Plugin Contributions
    0

    Default Re: increase gap at bottom of product listing page before 'new products for' box

    Thanks, I deleted the background statments for navbreadcrumb and indexcategories and put in the #headerWrapper{background-color:yellow;}
    #contentMainWrapper{background-colorink; at the bottom of the stylesheet and thats done it.

    Thank you so much!

 

 

Similar Threads

  1. New, or featured etc products to show at the bottom of a product listing
    By dgent in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 4 Jun 2010, 02:48 PM
  2. "Add to cart" box and New products module at page bottom...
    By BenhamCollectibles in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 5 Dec 2009, 05:57 PM
  3. increasing space / gap between products on product listing page
    By Sushigal in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 3 Jun 2009, 10:49 AM
  4. increase no. of new product listing
    By vr4indian in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 23 Dec 2006, 09:02 AM
  5. Gap between greeting and new products box
    By beasleybub in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 23 Nov 2006, 01:18 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