Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

background moves


mariusmoisa

Recommended Posts

Some more information would help,

 

what are you trying to do, which file?

 

Perhaps a link would help.

Find this post helpful? Click the 'Like this' button. :)

Link to comment
Share on other sites

I have no idea what you mean.

 

The site has only changed header and background image and all product are default.

Find this post helpful? Click the 'Like this' button. :)

Link to comment
Share on other sites

Change the background properties in the /catalog/stylesheet.css from this:

 

 background-image:url(images/topback.png);
 background-repeat : no-repeat;
 background-position:center;

 

To this:

 

 background-image:url(images/topback.png);
 background-repeat : no-repeat;
 background-attachment:fixed;

 

Sometimes after changing the stylesheet in order to see any change you have to hold the <Ctrl> key down while doing a page refresh in the browser to force the browser to reload all contents from the server, including the newly changed stylesheet.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Change this:

 

 background-repeat : no-repeat;
 background-position:center;

 

To this:

 

 background-repeat : no-repeat;
 background-attachment:fixed;
 background-position: 50% 40%;

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...