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

Top BG Image: How?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-15-2010, 05:14 AM
 
Swish Swish is offline
 

X-Adept
  
Join Date: Nov 2006
Posts: 450
 

Default Top BG Image: How?

Guys, how would you place a background image in the top of the default Light & Lucid skin? So it appears under the x-cart logo on the left and the phone numbers on the right. Also, how do you figure out what size the images should be to fill that space and not mess things up?
__________________
2007-2010 LC: 2.2.41
Jumped ship due to lack of development.
Reply With Quote
  #2  
Old 08-15-2010, 06:32 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,191
 

Default Re: Top BG Image: How?

CSS. Background image for the header. Size depends on your site width. You either make the image width to match site width or repeate image horizontally
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 08-15-2010, 06:56 AM
 
Swish Swish is offline
 

X-Adept
  
Join Date: Nov 2006
Posts: 450
 

Default Re: Top BG Image: How?

Quote:
Originally Posted by cflsystems
CSS. Background image for the header. Size depends on your site width. You either make the image width to match site width or repeate image horizontally

Thanks for your reply.

I'm used to LC but new to x-cart. I have Light & Lucid (3 column) installed yet if I go into the skins folder I see all the other default templates but not light & lucid. Where are the files/css for this skin?
__________________
2007-2010 LC: 2.2.41
Jumped ship due to lack of development.
Reply With Quote
  #4  
Old 08-15-2010, 07:23 AM
 
Shamun Shamun is offline
 

X-Adept
  
Join Date: Jun 2009
Location: North Carolina
Posts: 841
 

Default Re: Top BG Image: How?

Everything for your current skin is in /skin1/
__________________
- Shane Munroe
Reply With Quote
  #5  
Old 08-15-2010, 08:51 AM
 
Swish Swish is offline
 

X-Adept
  
Join Date: Nov 2006
Posts: 450
 

Default Re: Top BG Image: How?

I don't have a skin1 folder. I've found it all under skins/common files. I should have mentioned I'm using x-cart 4.4 so maybe things have changed?

So I had a look at the main.css and as light & lucid doesn't have a header image there is no code to call one. What would I put and where?
__________________
2007-2010 LC: 2.2.41
Jumped ship due to lack of development.
Reply With Quote
  #6  
Old 08-15-2010, 09:44 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,191
 

Default Re: Top BG Image: How?

In 4.4 things are al ittle bit different then earlier versions. You will find everything related to csutomer side in "skins/common files" and then in "skins/skin files" the template that are different for each skin. By your reply above I'm starting to think you don't know css. It is kinda a requirement to know css/html and smarty to be able to edit templates in xcart. Take some time to learn at least the basics (www.w3schools.com is a good place to start).
You have to find the css class used for the header and apply "background" property to it which will hold the image, something like this

.header_class_name {
background: url(path_to_image/image_name);
}
__________________
Steve Stoyanov
CFLSystems.com
Web Development
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 10:11 AM.

   

 
X-Cart forums © 2001-2020