Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   eCommerce & Atahualpa (http://forum.bytesforall.com/forumdisplay.php?f=31)
-   -   [SOLVED] WP eCommerce gridview layout (http://forum.bytesforall.com/showthread.php?t=14886)

Jam Jul 14, 2011 08:52 PM

[SOLVED] WP eCommerce gridview layout
 
Hi all, I use gridview for a WP-eCommerce shop and wanted to make sure all items displayed in the same size box, so that rows and columns all remain even.
By modifying the ".product_grid_display .product_grid_item" class in my Gold Cart plugin grid_view.css:

.product_grid_display .product_grid_item {
margin:5px;
border:0px solid #fff;
padding:5px;
float:left;
text-align:center;
position:relative;
width: 165px;
min-height:270px;
height:auto !important;
height: 270px;

}

I got same height and same width, perfect (might be helpful to others). But now I would like to align the "Add to cart" button to the bottom of its box.
The CSS for the button:

input.wpsc_buy_button {
float: left;
}

Q: how do I make that button float left and "bottom" :)


Thanks in advance

Jam Jul 14, 2011 10:43 PM

Never mind, I managed to sort it out myself :)

input.wpsc_buy_button{
position: absolute;
bottom: 20px;
left: 0;
}


All times are GMT -6. The time now is 04:01 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.