| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Center an image | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi guys I have a question. I have placed a few images on the right Xcat column, but the images automatically aligned to the left. Can somebody please tell me what code should I put in to center them?
Thanks.
__________________
Version 4.1.8 (Win) Brookyn, NY |
|||||||
#2
|
|||||||
|
|||||||
![]() <div style="text-align="center">image code here</div>
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() I have tried it with images and text, but it does not center it.
__________________
Version 4.1.8 (Win) Brookyn, NY |
|||||||
#4
|
|||||||
|
|||||||
![]() Then you must have a style in that column overriding it. Also just try <div align="center">image code</div>
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
![]() It worked perfectly. Thank you very much.
Can you please tell me what code I should modify and where, to change the color of Product Descriptions and all the text on the left and right side if my customer area from grey to black. The site is www.healthydevotion.com Thank you.
__________________
Version 4.1.8 (Win) Brookyn, NY |
|||||||
#6
|
|||||||
|
|||||||
![]() I don't know what CSS styles that skin calls, but if you look at the template (customer/main/product.tpl for example) you can see what style it is using and then edit it in the main style sheet.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#7
|
|||||||
|
|||||||
![]() [FONT='Times New Roman','serif']I could not find any color settings in there.[/font]
__________________
Version 4.1.8 (Win) Brookyn, NY |
|||||||
#8
|
|||||||
|
|||||||
![]() The color settings are in the stylesheet, the template only contains the reference to the class in the stylesheet. Do you know CSS?
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#9
|
|||||||
|
|||||||
![]() Unfortunately no
__________________
Version 4.1.8 (Win) Brookyn, NY |
|||||||
#10
|
|||||||
|
|||||||
![]() Ahh...then this might be a bit tricky for you. First thing I would do is get a good book on CSS, the O'Reilly ones are great. All of the formatting in X-Cart is controlled via the master stylesheet, so you will need to understand the basics of how a class is called, and what a Hex color code is.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
|||
X-Cart forums © 2001-2020
|