Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

whole page background image in v 2.3.1


cjb

Recommended Posts

In order to add a background image to the whole page I added the follwing to stylesheet.css

HTML {background-color: #"enter number"; background-image: url("enter url");}

Edited by cjb
Link to comment
Share on other sites

use shorthand css - example;

 

body {
  background: url('path/to/image.jpg') #fff;
}

 

that's more elegant, you are right. But if I add image to body, it does not appear. That is why I added it to the html.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...