Hi again,
I didn't try to do exactly what you want on a fresh install, mostly because I didn't have the time. But if you have a look at my retail site you'll see that the product detail page has been modified from stock. Here's what I did -- it should give you some ideas on what's possible.
First I moved some of the blocks around, experimenting just to see what went where. Here's the order of the blocks (the parts within those eof/bof comments) I have now, ignoring the usual stuff at the top...
<div class="prodInfoLeft">
Main Product Image
Product Price block
Add to Cart Box
</div>
<div class="prodInfoRight">
... all the description text with title, etc. ...
</div>
So that's the order of things. (You can View Source in your browser to see it in detail.) I added those two DIVs so I could apply style to the blocks all at once if I needed to. I didn't end up using that very much. You can probably ignore that part.
All the rest of the action occurs in stylesheet.css, down at the bottom. (I always put my changes at the bottom, to make them easy to find and to make sure they are the last definitions rendered.) As you can see, not much was required, mostly a few bits to align things. My main goal in all this was to get the "action" stuff up where people would see it -- that's the Add To Cart button and the price. The product description is not so important (for our products, anyway) so it's below the image. Styling for it was mostly applied in the admin text input.
Code:
#productDescription {
margin: 0em;
clear: left;
}
.prodInfoRight {
clear: left;
}
#productPrices {
text-align: right;
margin-right: 100px;
}
I hope this helps you see what can be done. The real trick is to get the CSS worked out. Pushing the bits around in the PHP is easy by comparison.
Rob
Bookmarks