Page 1 of 3 123 LastLast
Results 1 to 10 of 21
  1. #1
    Join Date
    Dec 2005
    Posts
    44
    Plugin Contributions
    0

    Default adjust spacing on Column Layout Grid - HELP!

    I have installed the Column Layout Grid, which works fantastic. However, I've been trying to figure out how to adjust the spacing between the product title and the price. I have removed the data which I don't want to display but my listing looks like this

    image
    product name


    price

    I'd like it to remove the giant space between "product name" and "price" so its looks like

    image
    product name
    price

    I've adjusted the css, edits the templates but I just don't see any changes. Has anyone been able to adjust this?

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: adjust spacing on Column Layout Grid - HELP!

    Yes this can be adjusted but it's not easy.

    The extra spacing arises because each line has a line break tag associated, including some that your are not displaying such as listing description. This means that you have multiple line breaks between some of the data that you are displaying.

    You don't say what PHP or CSS changes you have made already, so it's difficult to advise you as to what to try next, but it this would be extremely difficult to resolve by changes to one or other alone, you will need to change both together, but it most certainly can be done.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

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

    Default Re: adjust spacing on Column Layout Grid - HELP!

    I am having problems with spacing too.

    I am trying to add more padding to the main product display to separate the products from each other.

    When I try to add padding as below in CSS it works in rows but not in columns.

    /* Products Listing Adding */
    .productListing-odd {
    background-color: #FFFFFFF;
    height: 100px; /* the 100px should be greater than the (Image - Product Listing Height 80px) default in Admin */
    padding: 0.2em 0em 0.2em 0em;
    }

    .productListing-even {
    background-color: #F2F9FF;
    height: 100px; /* the 100px should be greater than the (Image - Product Listing Height 80px) default in Admin */
    padding: 0.2em 0em 0.2em 0em;
    }

    .productListing-data {
    padding: 0.5em 0.2em 0.5em 0.2em;
    border: 1px dotted #E6E6E6;
    }

    .itemTitle, .listingDescription, {
    padding: 0 1.5em 0 0.6em;
    text-align: left;

    It seems that something is being overidden in column display?






    }

  4. #4
    Join Date
    May 2006
    Posts
    321
    Plugin Contributions
    0

    Default Re: adjust spacing on Column Layout Grid - HELP!

    I just want to spread the columns apart...they're right next to each other with no space at all...where can I do this?

    Here's an example...

    http://www.digiscrapdivas.com/shoppi...=index&cPath=8

    Thanks!

  5. #5
    Join Date
    May 2004
    Location
    Hong Kong
    Posts
    1,291
    Plugin Contributions
    1

    Default Re: adjust spacing on Column Layout Grid - HELP!

    Try add the following to your style sheet and adjust it.

    Code:
    .listingDescription {
    padding-left: 10px;
    padding-right: 10px;
    }
    And for the item's title may be you want to add, it is:
    .itemTitle


    Hope this helps.

    .
    A New Starter again

  6. #6
    Join Date
    Nov 2003
    Posts
    1,987
    Plugin Contributions
    15

    Default Re: adjust spacing on Column Layout Grid - HELP!

    image
    product name


    price

    I'd like it to remove the giant space between "product name" and "price" so its looks like

    image
    product name
    price
    If I understand what you're asking I would:

    1) Find the class/id

    2) And add to the CSS:

    Code:
    .classname br {
    line-height: 0;
    }
    (untested, replace .classname by the actual .class or #id)

    An url would help.

  7. #7
    Join Date
    May 2006
    Posts
    321
    Plugin Contributions
    0

    Default Re: adjust spacing on Column Layout Grid - HELP!

    Seethrou's suggestion worked like a charm for my problem...thanks!!

  8. #8
    Join Date
    May 2004
    Location
    Hong Kong
    Posts
    1,291
    Plugin Contributions
    1

    Default Re: adjust spacing on Column Layout Grid - HELP!

    @ digidiva-kathy

    Glad to hear that!


    And for the column layout grid mod for the product listings, please also refer to:
    Product Listing Layout Question

    And the steps are:

    For the spaces between Product Name and the price only.
    i.e.
    ====
    Asian Floral Mini Dress (The Item Title?)
    ^
    This space only
    v

    $32.00

    ... more info

    Add the codes below to your stylesheet and adjust the negative value of the margin-bottom to reduce the blank space.
    .centerBoxContentsProducts .itemTitle {
    margin-bottom: -1em;
    }
    And for other space, there are 2 or 3 <br /> in the template file of the mod. To reduce the spaces, it need to remove the <br />s in the mod file.

    And I have not try the suggestions by paulm, will try it later.

    .
    Last edited by seethrou; 16 Sep 2006 at 02:21 PM.
    A New Starter again

  9. #9
    Join Date
    Feb 2007
    Location
    West Texas
    Posts
    128
    Plugin Contributions
    1

    Default Re: adjust spacing on Column Layout Grid - HELP!

    Just stopped by to say that post #5 by seethrou was perfect! I made mine 25px instead of the 10px and I like the way it looks.

    Thank you so much for providing a clear and concise solution to a problem I was trying to solve.

    You are appreciated!

    Shirley
    http://www.shabbychiccottage.com

  10. #10
    Join Date
    May 2007
    Location
    Perth, Australia
    Posts
    54
    Plugin Contributions
    0

    Default Re: adjust spacing on Column Layout Grid - HELP!

    Quote Originally Posted by seethrou View Post
    Try add the following to your style sheet and adjust it.

    Code:
    .listingDescription {
    padding-left: 10px;
    padding-right: 10px;
    }
    And for the item's title may be you want to add, it is:
    .itemTitle


    Hope this helps.

    .
    I am also having problems with columns being too close. Tried your suggestion - it works, but affects only descriptions, not the titles of the products. Please see for yuorself: http://matryoshkastore.com/index.php...ex&cPath=10_22

    Is there any way to space the titles?

    Many thanks,
    Alex
    Learning the hard way -
    Matryoshka Dolls

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Replies: 2
    Last Post: 23 Mar 2012, 03:28 PM
  2. adjust spacing on Column Layout Grid between product name and product price
    By cpoet in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 Jul 2010, 07:03 AM
  3. Layout Spacing Help Needed, Grid Mod
    By Erilyn in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 3 Sep 2007, 11:30 AM
  4. Column Grid Layout Spacing
    By ekcetera in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 5 Jun 2007, 03:57 PM
  5. column layout grid extra vertical spacing
    By davidf in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 19 Jan 2007, 01:32 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