Jump to content

CubeCart Recommends

Photo

How can I change the background color to an image


This topic has been archived. This means that you cannot reply to this topic.
6 replies to this topic

#1 kgwalker

kgwalker
  • Members
  • 6 posts

Posted 29 September 2006 - 01:56 PM

Does anyone have the html code in changing the background color to an image. So behind the actual website there is a 'pattern' image instead of a solid color.

Help!!!

#2 kgwalker

kgwalker
  • Members
  • 6 posts

Posted 29 September 2006 - 03:34 PM

Does anyone have the html code in changing the background color to an image. So behind the actual website there is a 'pattern' image instead of a solid color.

Help!!!



I have been editing fine. Guess I am asking wrong. I can't figure out the wording. Below is the wording I have... The background is color, I would like a .gif image. Do you know how I would change the wording?
Thank you

body {
background-color: #F4,F7,FD;
background-attachment: scroll;
background-repeat: repeat-x;
background-position: top;

#3 kgwalker

kgwalker
  • Members
  • 6 posts

Posted 29 September 2006 - 03:48 PM



Does anyone have the html code in changing the background color to an image. So behind the actual website there is a 'pattern' image instead of a solid color.

Help!!!



I have been editing fine. Guess I am asking wrong. I can't figure out the wording. Below is the wording I have... The background is color, I would like a .gif image. Do you know how I would change the wording?
Thank you

body {
background-color: #F4,F7,FD;
background-attachment: scroll;
background-repeat: repeat-x;
background-position: top;

Change to:

body {
background-image:url(../pathToYourImage);
background-attachment: scroll;
background-repeat: repeat-x;
background-position: top;


Moved to the correct forum :rolly:


Thank you so very much!! I will try!!

#4 kgwalker

kgwalker
  • Members
  • 6 posts

Posted 30 September 2006 - 06:52 PM



Does anyone have the html code in changing the background color to an image. So behind the actual website there is a 'pattern' image instead of a solid color.

Help!!!



I have been editing fine. Guess I am asking wrong. I can't figure out the wording. Below is the wording I have... The background is color, I would like a .gif image. Do you know how I would change the wording?
Thank you

body {
background-color: #F4,F7,FD;
background-attachment: scroll;
background-repeat: repeat-x;
background-position: top;

Change to:

body {
background-image:url(../pathToYourImage);
background-attachment: scroll;
background-repeat: repeat-x;
background-position: top;


Moved to the correct forum :sourcerer:


I did the above wording, but background image will only cover a very small portion of the top of the website, the rest is white. Below is what I did, does anyone know what is wrong?


body {
background-image:url(../styleImages/backgrounds/bluhighlight.gif);
background-attachment: scroll;
background-repeat: repeat-x;
background-position: top;
}

Thank you for any help!!

#5 kgwalker

kgwalker
  • Members
  • 6 posts

Posted 30 September 2006 - 07:15 PM

Change

background-repeat: repeat-x;

to

background-repeat: repeat;

I must be a bad newbie... I changed the above quote and not I have a solid white background. What did I do wrong. Thank you for the help and sorry for difficult. :sourcerer:

#6 xceejayx

xceejayx
  • Members
  • 278 posts

Posted 11 October 2006 - 09:38 AM

i have the same problem... anyone help?

#7 vrakas

vrakas

    Unchained Opinion

  • Members
  • 4,417 posts

Posted 12 October 2006 - 04:54 PM

I also tryed that and didnt get it to work, strange :)

I added this line only and works fine

background-image: url(../styleImages/backgrounds/mypic.jpg);
background-repeat: repeat-x;
background-position: top;

Keep in mind that i only added a small photo B)

Hope this works :)