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)
-   -   Centering Image (https://forum.x-cart.com/showthread.php?t=53112)

Bobby P. 04-03-2010 10:27 AM

Centering Image
 
I have widened my site but am unable to figure out how to center the Welcome JPG it moved to the right (4ALLHERBAL.COM) I use the Fashion Mosaic Template.
I figure its in the margins somewhere but cant find it if anyone can help thank you:roll:

gizmo 04-03-2010 11:00 AM

Re: Centering Image
 
Main.css

Find around line 1716 >

img.welcome {
float:right; (Change this to float left)

height:262px;
margin-left:20px;
width:580px;


}

Highligted in red is where to change, watch your padding though...

gizmo 04-03-2010 11:11 AM

Re: Centering Image
 
Actully if you do as I originally stated it will move categories to left and image to right so try this code:

img.welcome {
float:right;
height:262px;
margin-right:220px;
width:580px;


}

Red Markup is changed, Not tested in all browsers

Alternative make the image wider then you want have to change any code to fill entire space make image say 570px that will give you, or should 5px on either side


All times are GMT -8. The time now is 09:27 AM.

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