Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing Background of Header to Image In CSS


Guest

Recommended Posts

Posted

Hi People.

 

I have an image uploaded into my images folder which I want to put as the background on the header.

 

Please can someone explain what I need to do to the style sheet or php file to get the changes that I need.

 

It's a whole image to fit right across the screen. It needs to be behind the two header files I currently have.

 

Regards

Vince Gledhill

Posted

I have read the knowledge base and tried the search but all to no avail. Someone please help.

Posted
Hi People.

 

I have an image uploaded into my images folder which I want to put as the background on the header.

 

Please can someone explain what I need to do to the style sheet or php file to get the changes that I need.

 

It's a whole image to fit right across the screen. It needs to be behind the two header files I currently have.

 

Regards

Vince Gledhill

I believe you will want it something like this, modify to make it work for where your image is

TR.header {
 background-image:  url(http://www.wherever_your_image_is.com/images.gif);

<y stylesheet is probably different than yours. But by this example you should be able to make it work, it is simple code really, hope this helps! :thumbsup:

"I must admit that I personally measure success in terms of the contributions an individual makes to her or his fellow human beings."

---Margaret Mead---

 

"The answer is never the answer. What's really interesting is the mystery. If you seek the mystery instead of the answer, you'll always be seeking. I've never seen anybody really find the answer -- they think they have, so they stop thinking. But the job is to seek mystery, evoke mystery, plant a garden in which strange plants grow and mysteries bloom. The need for mystery is greater than the need for an answer.

--Ken Kesey"

Posted
I believe you will want it something like this, modify to make it work for where your image is
TR.header {
 background-image:  url(http://www.wherever_your_image_is.com/images.gif);

<y stylesheet is probably different than yours. But by this example you should be able to make it work, it is simple code really, hope this helps! :thumbsup:

 

Thanks for that mate.

 

Sorted.

Archived

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

×
×
  • Create New...