Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Column Width New Products in Empty Cart Page

    Hi,

    If you click on NEW PRODUCTS on my site, you'll see that the column width is controlled via my stylesheet using stylesheet like this:

    PHP Code:
    .new_products {floatleft;
    width200px;
    height285px;
    text-aligncenter;

    My problem is with when you click on Shopping Cart and your cart's empty... it will also show a New Products Page but if you're in IE7 you'll see that the column width is too narrow here and it forces the 4th pic down onto the next line.

    Does anyone know how to set the column width in an empty cart page?

  2. #2
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Column Width New Products in Empty Cart Page

    I tried making the images a tad smaller, but it has no effect, somehow I need to narrow the actual columns?

  3. #3
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Column Width New Products in Empty Cart Page

    Very strange, even when I set mainWrapper to 1500px (just to see if it's a page width problem) the 4th image is still forced onto the next line....

    It's only happening in IE.... FF is perfect.... anyone have any idea what it can be?

  4. #4
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Column Width New Products in Empty Cart Page

    try this . hopefully will help out in IE ..

    #whatsNew {stylesheet.css (line 518)
    padding-left:0;
    }

    add

    display:inline;

    see if this works .

  5. #5
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Column Width New Products in Empty Cart Page

    tony_sar you should change your name to tony_star...... you have no idea!! I've spent the last three hours on that and you get it in 2 secs. flat!!

    Seriously, that's the 3rd or 4th time you've helped me... I think I love you :-) Thanks a gazillion!!!!

  6. #6
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Column Width New Products in Empty Cart Page

    no problemo

  7. #7
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Column Width New Products in Empty Cart Page

    while we're on the subject of this layout... do you know how I set this page

    To be the same as this page

    ...... in so far as:
    • manufacturer
    • model
    • price


    as opposed to:
    • product name
    • price


    ????????

  8. #8
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Column Width New Products in Empty Cart Page

    Quote Originally Posted by tony_sar View Post
    try this . hopefully will help out in IE ..

    #whatsNew {stylesheet.css (line 518)
    padding-left:0;
    }

    add

    display:inline;

    see if this works .
    Hi Tony, been trying to replicate this on my Monthly Specials view but to no avail.

    It worked a treat on new products, but I've now set my homepage to display monthly specials and it's doing this silly 3,1,3,1,3,1 images per row in IE7 again.

    To what part of my Stylesheet do I add display:inline; to make the rows display as 4,4,4,4,4,4 as I can't seem to find it? Been looking for over an hour but you'd probably know immediately :-)

  9. #9
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Column Width New Products in Empty Cart Page

    OK, solved it :-)

    .centerBoxWrapper, .tabTable {
    padding: 0px;
    height: 1%; /*do not remove- IEhack*/
    margin-bottom: 1em;
    line-height:1.4;
    display: inline;

    /* background:#ffffff url('../images/content-bg.jpg') 0 28px repeat-x; */
    }

 

 

Similar Threads

  1. Empty Cart Page and New Products Question
    By sports guy in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 24 May 2011, 04:03 AM
  2. How To Remove "New Products for (month)" from Empty Cart / shopping cart page
    By DeeLite in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 7 Dec 2009, 07:32 AM
  3. New Products showing on Empty Cart page
    By MamaT in forum Basic Configuration
    Replies: 4
    Last Post: 18 Mar 2009, 09:13 PM
  4. Empty Cart leads to 'New Products' page
    By subb in forum General Questions
    Replies: 6
    Last Post: 26 Jun 2008, 02:26 AM
  5. adjusting column width in main page new/featured products
    By likes2draw in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 18 Jun 2008, 05:28 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