Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Xlogo.gif How to Change the Size?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-24-2006, 06:10 PM
  thentavius's Avatar 
thentavius thentavius is offline
 

Advanced Member
  
Join Date: Dec 2006
Posts: 34
 

Default Xlogo.gif How to Change the Size?

The logo I made for my upper left hand xlogo.gif is larger than the original. I'd like to change the size of the logo somewhere in the code so that it matches the new logo. It currently shows up scrunched to fit the old logo size of 244 x 67.

I've looked through the forums and couldn't find the answer. Sorry if this has been asked before!

(hope I made sense...)
__________________
XCart Gold - 4.0.19
Server using: Debian GNU/Linux with PHP 4.4.0
Reply With Quote
  #2  
Old 12-25-2006, 05:17 AM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: Xlogo.gif How to Change the Size?

Quote:
Originally Posted by thentavius
The logo I made for my upper left hand xlogo.gif is larger than the original. I'd like to change the size of the logo somewhere in the code so that it matches the new logo. It currently shows up scrunched to fit the old logo size of 244 x 67.

I've looked through the forums and couldn't find the answer. Sorry if this has been asked before!
It's been asked a zillion times... and you will only succeed with xcart if you do the following:

1. In your admin, startup webmaster mode.
2. In webmaster mode, click on"open customer area in new window"
3. Read the manual about webmaster mode...
4. in the pop-up, hover your cursor over the section with the logo -- you'll see that this template is "head.tpl"
5. SO -- this means you should open skin1/head.tpl with your ftp client.
6. In head.tpl, you will clearly see that the logo (in a stock 4.0.19 install) is in a td:
Code:
<TD><A href="{$http_location}"><IMG src="{$ImagesDir}/xlogo.gif" width="244" height="67" border="0"></A></TD>

So, change this. Rename the image. Change the size attrbutes. Go to town. (and don't forget to upload your image to to /skin1/images)

Without webmaster mode, you will never learn what goes where.

You should also put these posts in your bookmarks...

Template Editing Guide
A list of things asked a million times

Webmaster mode will be your best friend. Learn how to use it!
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #3  
Old 12-25-2006, 12:05 PM
  thentavius's Avatar 
thentavius thentavius is offline
 

Advanced Member
  
Join Date: Dec 2006
Posts: 34
 

Default Re: Xlogo.gif How to Change the Size?

I appreciate your time. I've been learning webmaster mode and finding it very useful to pinpoint the location of the templates.

Thank you so much for answering, even though it's been asked a zillion times. I am bookmarking those links now.
__________________
XCart Gold - 4.0.19
Server using: Debian GNU/Linux with PHP 4.4.0
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:51 AM.

   

 
X-Cart forums © 2001-2020