![]() |
Center an image
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. |
Re: Center an image
<div style="text-align="center">image code here</div>
|
Re: Center an image
I have tried it with images and text, but it does not center it.
|
Re: Center an image
Then you must have a style in that column overriding it. Also just try <div align="center">image code</div>
|
Re: Center an image
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. |
Re: Center an image
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.
|
Re: Center an image
[FONT='Times New Roman','serif']I could not find any color settings in there.[/font]
|
Re: Center an image
The color settings are in the stylesheet, the template only contains the reference to the class in the stylesheet. Do you know CSS?
|
Re: Center an image
Unfortunately no
|
Re: Center an image
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.
|
All times are GMT -8. The time now is 02:08 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.