Thread: Columns per Row

Results 1 to 10 of 47

Hybrid View

  1. #1
    Join Date
    Oct 2010
    Posts
    121
    Plugin Contributions
    0

    Default Re: Columns per Row

    Quote Originally Posted by gjh42 View Post
    Add to your stylesheet

    .centerBoxContentsProducts br {display: none;}
    After I added that to my stylesheet, my price and add quantity doesn't have spacing.

    Now, it looks like this: http://oembargain.com/index.php?main...ndex&cPath=1_2

    Did I do something wrong again? I just added it to the bottom of my stylesheet...

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

    Default Re: Columns per Row

    You changed the display order of the elements. When I tested it before, that rule worked correctly. Now, try

    .centerBoxContentsProducts br+br {display: none;}

    This will only hide the breaks when there are two or more in a row.

  3. #3
    Join Date
    Oct 2010
    Posts
    121
    Plugin Contributions
    0

    Default Re: Columns per Row

    Hm, I just did that. It's still doing the same thing, is there a specific spot in my stylesheet that I have to put it?

    http://oembargain.com/index.php?main...ndex&cPath=1_2

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

    Default Re: Columns per Row

    What browser are you using? IE6 and maybe IE7 will not understand the br+br and will ignore the whole rule.

  5. #5
    Join Date
    Oct 2010
    Posts
    121
    Plugin Contributions
    0

    Default Re: Columns per Row

    I am using Mozilla Firefox 3.6.3. Does it look correct on your end?

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

    Default Re: Columns per Row

    That is weird. I am on Firefox too, and now it is losing the break between price and add box. If I add a third +br, it works again, deleting two of the three breaks between elements when it ought to only hide one of them.

    .centerBoxContentsProducts br+br+br {display: none;}

  7. #7
    Join Date
    Oct 2010
    Posts
    121
    Plugin Contributions
    0

    Default Re: Columns per Row

    It worked! Thank you very much, you're the best!

 

 

Similar Threads

  1. Columns per Row
    By SexyCharlie in forum General Questions
    Replies: 14
    Last Post: 11 Sep 2012, 07:15 PM
  2. columns per row
    By procella in forum Setting Up Categories, Products, Attributes
    Replies: 11
    Last Post: 11 Nov 2009, 09:17 AM
  3. centerbox columns per row (ie issues)
    By jbezooyen in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 23 Jan 2008, 02:40 AM
  4. Products listing - Columns per row
    By chiselbit in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 28 Dec 2006, 01:38 PM
  5. Default columns per row
    By patski in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 9 Nov 2006, 09:57 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