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

How to Change the Store Logo

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 02-05-2012, 08:02 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: How to Change the Store Logo

and if that doesn't work try <img src="{$AltImagesDir}/custom/logo.jpg" alt="" />
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote

The following user thanks JWait for this useful post:
Marcy (02-05-2012)
  #12  
Old 02-05-2012, 08:12 AM
 
Marcy Marcy is offline
 

Advanced Member
  
Join Date: Feb 2012
Posts: 50
 

Default Re: How to Change the Store Logo

Quote:
Originally Posted by JWait
and if that doesn't work try <img src="{$AltImagesDir}/custom/logo.jpg" alt="" />

I tried this and the link is correct, i.e. the image is supposedly being pulled from /skin/fashion_mosaic_grey/images/custom/logo.jpg which is where I have my logo.

However the stock logo still displays. I even downloaded the file I have there to make sure I didn't accidentally put the stock there, although I was sure I didn't as the stock is a .gif.

Thank you so much for helping. I was going crazy trying to figure this out myself.
__________________
X-Cart Gold 4.4.5
No add-ons
Reply With Quote
  #13  
Old 02-05-2012, 08:17 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: How to Change the Store Logo

Ok, I found the problem. The image being displayed is company_logo.gif and is called from the altskin.css in the fashion_mosaic_gray/css folder.
Code:
#header .line1 .logo a:link, #header .line1 .logo a:visited, #header .line1 .logo a:hover, #header .line1 .logo a:active { display: block; width: 228px; height: 50px; background: transparent url(../images/fashion_mosaic/company_logo.gif) no-repeat left top; }

Try changing it there.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote

The following user thanks JWait for this useful post:
Marcy (02-05-2012)
  #14  
Old 02-05-2012, 08:59 AM
 
Marcy Marcy is offline
 

Advanced Member
  
Join Date: Feb 2012
Posts: 50
 

Default Re: How to Change the Store Logo

Thank you so much! I have to leave for work now, but will try it when I get home.

You are way more helpful than the official [useless] manual and the company.

-Marcy
__________________
X-Cart Gold 4.4.5
No add-ons
Reply With Quote
  #15  
Old 02-05-2012, 09:07 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: How to Change the Store Logo

Let me know how it turns out.. and anything else you need help with.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #16  
Old 02-05-2012, 04:13 PM
 
Marcy Marcy is offline
 

Advanced Member
  
Join Date: Feb 2012
Posts: 50
 

Default Re: How to Change the Store Logo

Quote:
Originally Posted by JWait
Ok, I found the problem. The image being displayed is company_logo.gif and is called from the altskin.css in the fashion_mosaic_gray/css folder.
Code:
#header .line1 .logo a:link, #header .line1 .logo a:visited, #header .line1 .logo a:hover, #header .line1 .logo a:active { display: block; width: 228px; height: 50px; background: transparent url(../images/fashion_mosaic/company_logo.gif) no-repeat left top; }

Try changing it there.

That did it!!! Thank you so much.

May I ask did you just search that out yourself or was it in the documentation somewhere? Because I followed the instructions in the laughingly entitled "instruction manual" and they told me to do something totally different!
__________________
X-Cart Gold 4.4.5
No add-ons
Reply With Quote
  #17  
Old 02-06-2012, 04:43 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: How to Change the Store Logo

It dawned on me that the image displayed was not x-logo.gif so I looked at the images and figured out it was company_logo.gif. From there I figured that since the image wasn't being pulled from head.tpl the only other place it could come from is a stylesheet so I just opened the altskin. css and searched for company_logo.gif.

The manual is pretty good for how x-cart works but is pretty useless for changing code.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #18  
Old 02-06-2012, 11:56 AM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: How to Change the Store Logo

If you are going to be making updates to the skin of your x-cart installation, it is best to become familiar with the Webmaster Mode tool and Firebug. Using these two takes much of the guess work out of making updates.

---
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote

The following user thanks gb2world for this useful post:
Marcy (02-06-2012)
  #19  
Old 02-06-2012, 11:34 PM
 
Marcy Marcy is offline
 

Advanced Member
  
Join Date: Feb 2012
Posts: 50
 

Default Re: How to Change the Store Logo

Quote:
Originally Posted by gb2world
If you are going to be making updates to the skin of your x-cart installation, it is best to become familiar with the Webmaster Mode tool and Firebug. Using these two takes much of the guess work out of making updates.

---

I have installed Firebug. I am very familiar with HTML and css but am having a heck of a time with locations, i.e. finding where the css is stored so I can edit it.

Firebug keeps telling me the css file is at /var/cache/_78b587dcf34f7845d7c396b99838d30c.css

This can't be correct, can it? There actuall is a css file with that name there, but I can't believe that's where the permanent info is stored.

Thanks,
Marcy
__________________
X-Cart Gold 4.4.5
No add-ons
Reply With Quote
  #20  
Old 02-07-2012, 12:57 AM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: How to Change the Store Logo

While debugging CSS and/or javascript (while you are in pre-production), make sure you disable the "Use speed-up tools" in general settings, then you can see the uncached css files using Firefox + Firebug. These tools will tell you exactly what css is being applied to the page. When you are done debugging, you can turn the speed up tools back on.

---
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote

The following user thanks gb2world for this useful post:
Marcy (02-07-2012)
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 10:46 AM.

   

 
X-Cart forums © 2001-2020