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

Head Logo

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 12-20-2008, 02:21 AM
 
Davidh Davidh is offline
 

Advanced Member
  
Join Date: May 2006
Posts: 44
 

Default Re: Head Logo

Thats correct, I had the same problem. all the template files are in /skin1/customer/ except the stylesheet which is still at /skin1/

took me a while to figure it out.
Reply With Quote
  #12  
Old 12-23-2008, 09:25 PM
  alarnold's Avatar 
alarnold alarnold is offline
 

Advanced Member
  
Join Date: Jan 2008
Posts: 33
 

Default Re: Head Logo

Quote:
Originally Posted by Halloween2007
I want to make my head logo the size of my website. How would I know the size of it?

By default, x-cart automatically re sizes for customers according to their screen resolution (size). Therefore there is no easy way to make your header logo the size of their screen.

The other option would be change the dynamic aspect of your x-cart and force it to a fixed width.

skin1/rectangle_top.tpl
- this controls the overall width and height of your layout. By default, it is set to 100% high and 100% width. You can set it to a fixed width (like 900px) or a percentage. Keep in mind that this is a shared template between the admin and customer sides, so you might want to put in an {if} statement to show something different for each side.

Hope this helps, Al
__________________
X-Cart version 4.7.12 Platinum

arnoldcoin.com

Change is inevitable, except from a vending machine
Reply With Quote
  #13  
Old 01-18-2009, 10:34 AM
 
HotrodOffroad HotrodOffroad is offline
 

Member
  
Join Date: Dec 2008
Posts: 16
 

Default Re: Head Logo

I have the same problem. My customer's logo is fine on the admin side, but it shrinks it to 244 wide on the customer side.... even though I have the image width set at 350...
This should not be taking up so much of my time.
__________________
4.2 My site
Fancy Categories

4.2 Customer site
Fancy Categories
Reply With Quote
  #14  
Old 01-18-2009, 11:08 AM
 
Shooter Shooter is offline
 

Advanced Member
  
Join Date: Dec 2005
Location: Hannibal, NY
Posts: 85
 

Angry Re: Head Logo

Quote:
Originally Posted by HotrodOffroad
I have the same problem. My customer's logo is fine on the admin side, but it shrinks it to 244 wide on the customer side.... even though I have the image width set at 350...
This should not be taking up so much of my time.


I found it... /httpdocs/skin1/customer/head.tpl

<tr>
<td width="100%" style="padding-left: 42px;">
<a href="{$http_location}/"><img src="{$ImagesDir}/custom/Company_name.gif" width="205" height="26" border="0" alt="{$config.Company.company_name}" /></a>
</td>
</tr>

around line 18 it starts


question is will the template still resize..
__________________
v4,1.11 Gold
Affiliate
AOM
FancyCategories
RMA
SpecialOffers
Sales-n-Stats Live
Price Match
Checkout Specials
Testimonials
Recently Added-Shop points
Magnifier
Gift Registry
CDSEO
SnS <-- no longer supported -just ripped off for registration
Price Match
Product Manager
Tag Cloud
Glossary
Marketing Manager
On Sale
Customer Reward Points
Customer Referral Points.. and others

Shooter

Visit us at ShootersBilliards.com for all of your pool cue and billiards needs.
Reply With Quote
  #15  
Old 01-18-2009, 01:01 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Head Logo

width="205" height="26"

this is not needed. You can jus take it out then your logo should look ok.
__________________
xcart 5.1.2
Reply With Quote
  #16  
Old 01-18-2009, 01:02 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Head Logo

AN i always set the site to a fixed width.

975px wide is a pretty good start. I hate the content jumping all around for bigger monitors, and screw 800 x 600.
__________________
xcart 5.1.2
Reply With Quote
  #17  
Old 01-18-2009, 03:40 PM
 
HotrodOffroad HotrodOffroad is offline
 

Member
  
Join Date: Dec 2008
Posts: 16
 

Default Re: Head Logo

That is where I changed it... httpdocs/skin1/customer/head.tpl
But it made no difference.
<div class="line1">
<div class="logo"><a href="{$catalogs.customer}/home.php"><img src="{$ImagesDir}/GOLFTHEWORLDLOGO.GIF" width="350" height="67" alt="Golf The World" /></a></div>


It still shows up 244 wide x 67 in customer mode. Reguardless of monitor setup.
__________________
4.2 My site
Fancy Categories

4.2 Customer site
Fancy Categories
Reply With Quote
  #18  
Old 01-18-2009, 08:50 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Head Logo

what version are you using?

and did you clear template cache?

Quote:
Originally Posted by HotrodOffroad
That is where I changed it... httpdocs/skin1/customer/head.tpl
But it made no difference.
<div class="line1">
<div class="logo"><a href="{$catalogs.customer}/home.php"><img src="{$ImagesDir}/GOLFTHEWORLDLOGO.GIF" width="350" height="67" alt="Golf The World" /></a></div>


It still shows up 244 wide x 67 in customer mode. Reguardless of monitor setup.
__________________
xcart 5.1.2
Reply With Quote
  #19  
Old 01-19-2009, 03:36 AM
  Victor D's Avatar 
Victor D Victor D is offline
 

X-Adept
  
Join Date: Aug 2008
Posts: 643
 

Default Re: Head Logo

Quote:
Originally Posted by HotrodOffroad
That is where I changed it... httpdocs/skin1/customer/head.tpl
But it made no difference.
<div class="line1">
<div class="logo"><a href="{$catalogs.customer}/home.php"><img src="{$ImagesDir}/GOLFTHEWORLDLOGO.GIF" width="350" height="67" alt="Golf The World" /></a></div>


It still shows up 244 wide x 67 in customer mode. Reguardless of monitor setup.

From your header layout I see that you have 4.2
In this version you should edit skin1/main.css
search for
Code:
#header .line1 .logo { margin-left: 27px; width: 244px; } #header .line1 .logo a img { width: 244px; height: 67px; }
and set your values there
Note that you have to set width twice
__________________
Regards,
Victor Dubiniuk

X-Cart Skins Store
- twenty two different skins for 4.1.x and 4.2.x;
- 4.3.x compatible versions are available;
- refresh you store now!

Smart menu X-Cart add-on for 4.1.8 - 4.3.x
Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x
Reply With Quote

The following user thanks Victor D for this useful post:
mbhaney (03-19-2011)
  #20  
Old 01-19-2009, 07:32 PM
 
HotrodOffroad HotrodOffroad is offline
 

Member
  
Join Date: Dec 2008
Posts: 16
 

Default Re: Head Logo

Yes, 4.2.
I'll have to find that and change it in there.
I got frustrated and shrunk the logo.... I'm sure my customer will want it bigger than 244 wide.
Thanks for the help.
__________________
4.2 My site
Fancy Categories

4.2 Customer site
Fancy Categories
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 10:22 AM.

   

 
X-Cart forums © 2001-2020