X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   3 column mode align center (https://forum.x-cart.com/showthread.php?t=51319)

pzsolt 12-15-2009 04:14 AM

3 column mode align center
 
3 Attachment(s)
Hi all,

I'm working on 4.3, and I found the 3 column mode not good looking. (1. picture).
I change in the main.css some text-aligne to center, it is better, but I can't place to center the rating stars (see other pictures).
I hope it was clear. :)

Can anybody help me?

(before version under 4.2 the 3 column was "centered" but not now.)

rgibson 12-15-2009 05:31 AM

Re: 3 column mode align center
 
You need to center the div containing the creview stars. I handled this with the following addition in main.css for the template that I'm using:
.products-table .creviews-rating-box{
width: 105px;
margin-left: auto;
margin-right: auto;
}
Set the width to 21px times the number of stars you are using (I'm using 5).

pzsolt 12-15-2009 10:33 AM

Re: 3 column mode align center
 
Thank you, you are the best :)

jmcfall 02-07-2010 04:43 AM

Re: 3 column mode align center
 
pzsolt can you please post the css you edited to center the product title, product image and the product buy now button? i've managed to get the quantity & price centered but couldn't figure out the rest.


All times are GMT -8. The time now is 02:28 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.