Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15
  1. #11
    Join Date
    Sep 2006
    Location
    Ruckersville, VA, USA
    Posts
    286
    Plugin Contributions
    0

    Default Re: Need space between rows in Category page

    Tricia,

    You cannot use the previous method suggested by me. However, you have built your website in a way that makes it easy to fix - at least on the home page.

    The smart and people at ZEND CART have added a clear element between the rows: <br class="clearBoth" />

    All you have to do is go to where the code is created by php for your home page - and add this little statement <br class="clearBoth" /> for each "Spacer" beneath each row.

    How do you know where these rows and spacers belong? When php generates a page, it is sometimes difficult to find out exactly where to place things. An easy solution to finding the place is to use your browser, open the home page (for example) and then select "View" and "Source." This should open the browser page (the home page in your case) in NOTEPAD as a plain text file.

    Simply save this file as a html file to your desktop or some folder. Name it (save as) home.html (so you do not screw up your home page).

    Next open it in your web editing tool. Your tool should one that displays line numbers.

    Your home page has the spacer <br class="clearBoth" /> located on line 131 or thereabouts. Now that you have located it, just find it on your website, and add another one just below it. Each one provides an additional space.

    You have a really nice looking web site - you go girl!

    Respectfully,

    John Underwood

  2. #12
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: Need space between rows in Category page

    Quote Originally Posted by jund View Post
    Tricia,

    You cannot use the previous method suggested by me. However, you have built your website in a way that makes it easy to fix - at least on the home page.

    The smart and people at ZEND CART have added a clear element between the rows: <br class="clearBoth" />

    All you have to do is go to where the code is created by php for your home page - and add this little statement <br class="clearBoth" /> for each "Spacer" beneath each row.

    How do you know where these rows and spacers belong? When php generates a page, it is sometimes difficult to find out exactly where to place things. An easy solution to finding the place is to use your browser, open the home page (for example) and then select "View" and "Source." This should open the browser page (the home page in your case) in NOTEPAD as a plain text file.

    Simply save this file as a html file to your desktop or some folder. Name it (save as) home.html (so you do not screw up your home page).

    Next open it in your web editing tool. Your tool should one that displays line numbers.

    Your home page has the spacer <br class="clearBoth" /> located on line 131 or thereabouts. Now that you have located it, just find it on your website, and add another one just below it. Each one provides an additional space.

    You have a really nice looking web site - you go girl!

    Respectfully,

    John Underwood
    Errr... Not to sure about what you've just described, but the easy way to do what she is asking is to add some padding to the itemTitle. TO do this, open up:

    includes/templates/YOUR_TEMPLATE/css/stylesheet.css and change:

    Code:
    .itemTitle {
    font-weight: lighter;
    }
    to

    Code:
    .itemTitle {
    font-weight: lighter;
    padding:5px 0 20px 0;
    }

  3. #13
    Join Date
    Aug 2008
    Posts
    1
    Plugin Contributions
    0

    Default Re: Need space between rows in Category page

    to add space between categories-products list, locate the file below:
    templates/template_default/sideboxes/tpl_categories.php

    locate '<br/>' on line 57, then add an extra <br/>(means down an extra line). So your final result would look like this '<br/><br/>'

    hope this helps.. you can add to any line where you see '<br/>' for other categories. cheers

  4. #14
    Join Date
    May 2009
    Posts
    8
    Plugin Contributions
    0

    Default Re: Need space between rows in Category page

    Quote Originally Posted by temiamosu View Post
    to add space between categories-products list, locate the file below:
    templates/template_default/sideboxes/tpl_categories.php

    locate '<br/>' on line 57, then add an extra <br/>(means down an extra line). So your final result would look like this '<br/><br/>'

    hope this helps.. you can add to any line where you see '<br/>' for other categories. cheers

    THANK YOU! This is just what I needed to separate all the products in my category listing!

  5. #15
    Join Date
    Dec 2009
    Posts
    33
    Plugin Contributions
    0

    Default Re: Need space between rows in Category page

    Here's a nice little change rather than adding an additional break

    Rather than.....
    Originally Posted by temiamosu
    to add space between categories-products list, locate the file below:
    templates/template_default/sideboxes/tpl_categories.php

    locate '<br/>' on line 57, then add an extra <br/>(means down an extra line). So your final result would look like this '<br/><br/>'

    hope this helps.. you can add to any line where you see '<br/>' for other categories. cheers
    Instead, replace '<br/>' on line 57, with '<hr id="catBoxDivider" />'

    Then find:
    if (SHOW_CATEGORIES_SEPARATOR_LINK == '1') {
    $content .= '<hr id="catBoxDivider" />' . "\n";

    and change to:

    if (SHOW_CATEGORIES_SEPARATOR_LINK == '1') {
    $content .= ' ' . "\n";



    This will space the categories out slightly and add a dividing line between then to make them stand out a bit more
    Last edited by webbouk; 17 Jan 2010 at 12:43 AM.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v139h How can I add space between rows of products on the product listing pages?
    By lina0962 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 22 May 2013, 03:10 PM
  2. v150 Need Space in between Product Listing
    By ljdream00 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 26 Mar 2012, 01:44 PM
  3. Space between category boxes
    By leest35 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 15 Nov 2010, 04:49 PM
  4. How to add space between the rows on the product?
    By laurieudy in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 27 Sep 2009, 08:09 AM
  5. Column Grid Layout - Add Space Between Rows?
    By Kjohn in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 9 Feb 2009, 08:07 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