[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 |
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 05:38 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.