Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I honestly try to stay away from plugin specific questions on here, but the Woo guys can't figure it out, and I'm losing my mind trying to understand what's going on. First, I have made a page on my site called, Cart and given it a custom template page. The template is just a very simple page that calls my header, footer, and the Woo shortcode to show the shopping cart as you can see here: http://pastebin.com/w9MRFmrZ

Now on the woocommerce's cart.php file, What I have done is taken out the html table and it's rows/columns altogether. I went ahead and made each section it's own div. Here is the updated cart.php file: http://pastebin.com/1iEhw5F9

Does what I need it to do, UNTIL I add a separate/different item to the shopping cart. Then what happens is the new item's divs/content appear BELOW my wrapper div and appear unstyled. I just can't figure out why only one item and it's divs stay within my wrapper. And to be more clear, I'm talking about when at least TWO separate items are in the shopping cart at the same time. The first item is within the wrapper, but the next item is not. I even just tried scrapping the custom template page for the cart, and just adding in the wrapper div via my functions.php file. Same problem occurs. Just for reference, here is the orginal cart.php file with the html tables and all: http://pastebin.com/r420jSvg The only thing that I've done is taken out the table, and that's it.

share|improve this question
Sounds like a CSS or maybe a broken markup issue. Can you post a working URL? If so, someone might spot something, but pure CSS issues are off-topic per the faq. – s_ha_dum Feb 5 at 5:05
I am pretty sure this is markup/CSS related. I can't spot exactly what but I'd guess a float is breaking some of your content out of its container. Honestly, the layout appears to be (very) incomplete. It is hard to work out what is going on at all. – s_ha_dum Feb 5 at 14:56
Well thanks for looking at it. I'm going to go ahead and create a test site and use the default theme, but take out the tables, and see what happens. I'll report back. – Anthony Myers Feb 6 at 4:05

closed as too localized by toscho Feb 7 at 2:21

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

1 Answer

Fixed it! It wasn't css, but I ended a div on the cart.php file, a bit too soon.

share|improve this answer
Hmmm, closed. Well I did figure it out myself, but I actually thought that others looking for ways to make the Woocommerce shopping cart more responsive wouldn't mind looking this over though. – Anthony Myers Feb 16 at 7:15

Not the answer you're looking for? Browse other questions tagged or ask your own question.