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)
-   -   Editing Logo size in css stylesheet not working (https://forum.x-cart.com/showthread.php?t=49334)

wsme123 08-25-2009 01:39 PM

Editing Logo size in css stylesheet not working
 
Hi There

I purchased an new skin and have successfully implemented it for mu customer

I need some urgent help. I am trying to add a clients logo banner to their shopping cart.

The logo size is width="651" height="102". When I upload the image it resizes it to the original size.

I have edited the style sheet skin1/main.css with the correct width and height, please see below, but it still will not resize the image?

#header .line1 .logo {
margin-left: 27px;
width: 651px;
}
#header .line1 .logo a img {
width: 651px;
height: 102px;
}

Help....

wsme123 08-25-2009 02:06 PM

Re: Editing Logo size in css stylesheet not working
 
I have also adjusted the width and height on the main.tpl page too

<td class="HeadLogo"><a href="{$http_location}/"><img src="{$ImagesDir}/xlogo.gif" width="644" height="103" alt="" /></a></td>

wsme123 08-25-2009 02:28 PM

Re: Editing Logo size in css stylesheet not working
 
[FONT='Verdana','sans-serif']I have fixed it, noticed in the source code that there is a main_aw.css file that also needed to be adjusted[/font]


All times are GMT -8. The time now is 11:55 PM.

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