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

background fixed

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-19-2007, 06:44 AM
  hrothbeorht's Avatar 
hrothbeorht hrothbeorht is offline
 

Senior Member
  
Join Date: May 2007
Posts: 156
 

Default background fixed

Hi there,

I'm trying to get my background to be fixed

here is a clip from my home.tpl
Code:
<body{$reading_direction_tag}{if $body_onload ne ''} onload="javascript: {$body_onload}"{/if} BGCOLOR="#000000" BACKGROUND="skin1/images/bg_p.gif">

I've tried:
behavior="fixed"
background="fixed"
bg properites="fixed"

none have worked

(I added them in the body tag after BACKGROUND="skin1/images/bg_p.gif")

-hroth
__________________
x-cart- 4.1.10
www.boutiquefinn.ca
Reply With Quote
  #2  
Old 10-19-2007, 07:12 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: background fixed

You are using a depreciated method of calling backgrounds and colors, you need to use css. Simply add this to your body class in skin1.css:

background: url(images/bg_p.gif); background-repeat: no-repeat;
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
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 02:17 PM.

   

 
X-Cart forums © 2001-2020