Results 1 to 10 of 15

Hybrid View

  1. #1
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Changing Background Image

    NOTE
    Correct code should be
    body {font: 62.5% verdana, arial, helvetica, sans-serif; color: #333; background: #fff url(../images/yourimage.jpg)}

  2. #2
    Join Date
    Jan 2006
    Posts
    128
    Plugin Contributions
    0

    Default Re: Changing Background Image

    ok, I added the correct, but does the image need to be in .jpg format or .gif?

  3. #3
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Changing Background Image

    Quote Originally Posted by bubblegumgoods View Post
    ok, I added the correct, but does the image need to be in .jpg format or .gif?
    Does not matter AS LONG AS you specify correct format in stylesheet
    i.e.
    ../images/yourimage.jpg
    or
    ../images/yourimage.gif

  4. #4
    Join Date
    Jan 2006
    Posts
    128
    Plugin Contributions
    0

    Default Re: Changing Background Image

    where do i need to save the image at before I add it on the stylesheet page?

  5. #5
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Changing Background Image

    Quote Originally Posted by bubblegumgoods View Post
    where do i need to save the image at before I add it on the stylesheet page?
    /includes/templates/classic/images/

  6. #6
    Join Date
    Jan 2006
    Posts
    128
    Plugin Contributions
    0

    Default Re: Changing Background Image

    It worked. Thank you so much for you time misty. I appreciate it. You're so helpful and a great member to these boards.

  7. #7
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Changing Background Image

    Great background.. well done!!

  8. #8
    Join Date
    Feb 2007
    Location
    Texas
    Posts
    3
    Plugin Contributions
    0

    help question Re: Changing Background Image

    Does anyone have any idea why Zen-Cart changes my css on the fly.

    I have been trying to apply a background image to my site http://gscoffeeclub.com/store/ and for some reason it keeps changing it to transparent.

    This is what I have in my css file:
    Code:
    body {
        background:url(/includes/templates/gscoffeeclub/images/til_1.jpg) repeat;
        color: #666666;
        margin-left: 5%;
        margin-right:5%;
        width: 90%;
        }
    This is what firebug gets when I am looking at the page:
    Code:
    body {
    background:transparent url(/includes/templates/gscoffeeclub/images/til_1.jpg) repeat scroll 0%;
    color:#666666;
    margin-left:5%;
    margin-right:5%;
    width:90%;
    }
    I have deleted all other css files in all of the other template folders just in case they might be getting loaded after the main file and I am still getting this change. I have also checked and rechecked a dozen times to be sure that the image is where it is supposed to be. This one has me stumped.

    Anybody have any ideas?


    Thanks,

    Gary

 

 

Similar Threads

  1. Background image not changing
    By nakedsailor in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 3 Sep 2010, 05:25 PM
  2. Changing Background color to image
    By fastdc5 in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 4 Feb 2009, 05:22 AM
  3. Changing to Background image in stylesheet?
    By stormysar in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 9 Feb 2008, 06:04 PM
  4. Changing background image
    By pb4 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 7 Dec 2007, 05:28 AM
  5. Changing Background image....
    By bloukline in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 16 Jan 2007, 10:22 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg