Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2005
    Posts
    298
    Plugin Contributions
    0

    help question Category product spacing

    Can anyone help me on this im trying to get the spacing correct on this page. i have tried evrything but nothing has worked for me. I see where it says element.style which will change it but i do not know where it is at so i can change it. can someone give me a little insight on this and where to change it at.

    Can be seen here:http://advecomsolution.com/index.php...ndex&cPath=1_2

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

    Default Re: Category product spacing

    What do you mean by "correct"? Are you trying to get three products per row?

    You have some conflicting property values which are not being applied anyway, and margins and padding which are causing your problems.
    Code:
    	.centerBoxContentsProducts {
    	height:220px;
    	width:150px;
    	text-align:center;
    	width:95%;
    	background-attachment: scroll;
    	background-color: #FFFFFF;
    	background-image: url(/images/box_bg.gif);
    	background-repeat: no-repeat;
    	background-position: 50% 0%;
    	margin-top: 10px;
    	margin-right: 2px;
    	margin-bottom: 10px;
    	margin-left: 2px;
    	padding: 10px;
    	}
    	
    	.listingDescription {
    	padding-top: 1.5em;
    	padding-right: 6em;
    	padding-bottom: .0em;
    	padding-left: 6em;
            }
    Change to
    Code:
    .centerBoxContentsProducts {
    	height:220px;
    	text-align:center;
    	background-attachment: scroll;
    	background-color: #FFFFFF;
    	background-image: url(/images/box_bg.gif);
    	background-repeat: no-repeat;
    	background-position: 50% 0%;
    	margin: 10px 0;/*(top&bottom right&left)*/
    	padding: 10px 0;/*(top&bottom right&left)*/
    	}
    	
    .listingDescription {
    	padding: 1.5em 1.6em 0 1.6em;/*(top right bottom left)*/
            }
    Last edited by gjh42; 7 May 2008 at 11:24 PM.

  3. #3
    Join Date
    Apr 2005
    Posts
    298
    Plugin Contributions
    0

    Default Re: Category product spacing

    Thank you for your reply and help. THat cleaned things up but im stilling having the spacing problem. How do i go about getting that correct? Like i said i do see something like element.width that seems to do the job, but i do not know what file to fix. Trying to get at least three to four per row.

    Any help in the right direction will do.

    See it here: http://advecomsolution.com/index.php...ndex&cPath=1_2

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

    Default Re: Category product spacing

    The changes I posted will fix your display if you apply all of them. Your site currently doesn't show any of the stylesheet changes.

  5. #5
    Join Date
    Apr 2005
    Posts
    298
    Plugin Contributions
    0

    Default Re: Category product spacing

    Your right i thank you for your help with this, I do have one more question can i apply these setting to get the same look for, new products, featured, and so on?

    Again thank you for your help.

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

    Default Re: Category product spacing

    The new/all/featured listings are controlled by different template files and can not be given the same layout without custom coding - the stylesheet can't help by itself.

    Yellow1912's Using one single listing template mod can help.

 

 

Similar Threads

  1. Product Category line spacing
    By lrfowler in forum General Questions
    Replies: 0
    Last Post: 24 Feb 2012, 06:19 AM
  2. Spacing product images on category page
    By VisExp in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 21 Oct 2008, 02:04 AM
  3. Spacing between Category Name & Category Description
    By raunharman in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 14 Dec 2007, 11:31 PM
  4. Category List Spacing
    By copels in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 6 Sep 2007, 05:40 PM
  5. Category Headers & Product Image Spacing
    By arkitekt in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 23 Jun 2006, 09:04 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