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

Insert headBG.gif into head any help please

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-23-2010, 07:56 AM
  a1deano's Avatar 
a1deano a1deano is offline
 

X-Adept
  
Join Date: Oct 2004
Posts: 745
 

Default Insert headBG.gif into head any help please

Hi could anyone please tell me the code and were to place so i can insert headBG.gif in the header.
Currently it is white same as the whole page but iam trying to insert headBG.gif but i don't know how to do it in v4.4 or exactly were to put the code

Any help would be apprciated thank
__________________
--------------
V4.6.1
xcartmods - Reboot Template

X-cart - X-PDF

Altered Cart - Checkout one
Reply With Quote
  #2  
Old 09-05-2010, 03:47 AM
  a1deano's Avatar 
a1deano a1deano is offline
 

X-Adept
  
Join Date: Oct 2004
Posts: 745
 

Default Re: Insert headBG.gif into head any help please

Ive managed to insert the grey background into the head if anyone else is looking for it main.css

#header .line1 {
background:transparent url(../images/headBG.gif) repeat-x scroll center top;
no-repeat scroll right top;
position: relative;
height: 83px;
direction: ltr;
}

What i can't seem to do is but my picture gif on the right hand side of the head any help would be greatful.
Ive attached a photo of my current site which is v4.1.9 so i can't even copy the code from there..
__________________
--------------
V4.6.1
xcartmods - Reboot Template

X-cart - X-PDF

Altered Cart - Checkout one
Reply With Quote
  #3  
Old 09-05-2010, 07:07 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Insert headBG.gif into head any help please

You can't have 2 backgrounds for an element. Either incorporate the second image into the first one so you end up with one image or assign that second image as a background to another element that goes on top of the first one. So looking at the stype you posted - assign headBG.gif to #header instead of #header .line1 and then assign the second image as a background to #header .line1
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #4  
Old 09-05-2010, 09:57 AM
  a1deano's Avatar 
a1deano a1deano is offline
 

X-Adept
  
Join Date: Oct 2004
Posts: 745
 

Default Re: Insert headBG.gif into head any help please

Hi Steve

Many thanks yet again mate i was going to considor joining the 2 images as 1 to make life easier for me, but followed what you said and worked a treat.

Many thanks again
__________________
--------------
V4.6.1
xcartmods - Reboot Template

X-cart - X-PDF

Altered Cart - Checkout one
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 02:26 PM.

   

 
X-Cart forums © 2001-2020