Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Jun 2012
    Posts
    42
    Plugin Contributions
    0

    Default Adding a background image/texture to stylesheet.css

    Hello everyone,

    I am trying to add a background texture/image to my shopping cart. I tried adding the following but is not working!

    body {margin: 0;font-family: verdana, arial, helvetica, sans-serif;font-size: 62.5%;color: #888787;background-color: #3A221C url(http://www.ishafairtrade.com.au/wp-c...634740_S.jpg); ;}

    I added what's in the blue, but it is not working.....please help
    I realize I may not be able to see the image as it could be behind the shopping cart area but I also tried 'repeat' to no avail!

    Thankyou!

  2. #2
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: Adding a background image/texture to stylesheet.css

    This is WordPress?!?

  3. #3
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Adding a background image/texture to stylesheet.css

    If you want us to be able to help with the Zencart portion of your site (I assume that's what the 'Online Store' link leads to), you'll have to take the site out of Maintenance Mode.

  4. #4
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Adding a background image/texture to stylesheet.css

    picandnix appears to be correct. The site appears to be WordPress. If so, they should be able to advise you on their forums.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  5. #5
    Join Date
    Jun 2012
    Posts
    42
    Plugin Contributions
    0

    Default Re: Adding a background image/texture to stylesheet.css

    Quote Originally Posted by afo View Post
    picandnix appears to be correct. The site appears to be WordPress. If so, they should be able to advise you on their forums.
    Hi guys, No I am talking about the stylesheet.css in my zencart store, www.ishafairtrade.com.au/zencart

    You can view it at the link above..

  6. #6
    Join Date
    Jun 2012
    Posts
    42
    Plugin Contributions
    0

    Default Re: Adding a background image/texture to stylesheet.css

    but I just realised part of my problem may be that i am calling the image from the wordpress files instead of the zencart files?

  7. #7
    Join Date
    May 2009
    Posts
    1,219
    Plugin Contributions
    2

    Default Re: Adding a background image/texture to stylesheet.css

    Quote Originally Posted by afo View Post
    picandnix appears to be correct. The site appears to be WordPress. If so, they should be able to advise you on their forums.
    You both appear to be wrong ;)
    irori's fault is s/he didn't give the site link correctly:
    ishafairtrade.com.au/ <<< is wordpress
    ishafairtrade.com.au/zencart <<< is zencart

    I'd check for the image path, and the syntax:
    .jpg); ;}

    I tried with this, and it works
    url("http://www.ishafairtrade.com.au/zencart/includes/templates/alysa_rounded/buttons/english/button_search_header.gif")

    Put your image in
    templates/alysa_rounded/images
    and try again

  8. #8
    Join Date
    Jun 2012
    Posts
    42
    Plugin Contributions
    0

    Default Re: Adding a background image/texture to stylesheet.css

    Quote Originally Posted by keneso View Post
    You both appear to be wrong ;)
    irori's fault is s/he didn't give the site link correctly:
    ishafairtrade.com.au/ <<< is wordpress
    ishafairtrade.com.au/zencart <<< is zencart

    I'd check for the image path, and the syntax:
    .jpg); ;}

    I tried with this, and it works
    url("http://www.ishafairtrade.com.au/zencart/includes/templates/alysa_rounded/buttons/english/button_search_header.gif")

    Put your image in
    templates/alysa_rounded/images
    and try again
    Sorry it took so long to get back to you guys, I have saved the image in the correct place now but I cannot get the image to show up. In the stylesheet.css line 1, I have this

    body {margin: 0;font-family: verdana, arial, helvetica, sans-serif;font-size: 62.5%;color: #888787; background-image:url(www.ishafairtrade.com.au/public_html/zencart/includes/templates/alysa_rounded/images/Depositphotos_1634740_S.jpg);}

    I am just getting a white color background now. I read elsewhere that the image is meant to tile on its own....so I do not know what is going on now....

  9. #9
    Join Date
    Jun 2012
    Posts
    42
    Plugin Contributions
    0

    Default Re: Adding a background image/texture to stylesheet.css

    I have tried adding in quotation marks as well, shortening the url to just includes/templates/alysa_rounded/images/Depositphotos_1634740_S.jpg);} and so forth but nothing is working....

  10. #10
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Adding a background image/texture to stylesheet.css

    Try this: background-image: url(../images/Depositphotos_1634740_S.jpg);

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Adding to stylesheet.css
    By gotduhka in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 29 Jan 2012, 03:28 AM
  2. v139f Admin stylesheet, setting a background image - forbidden
    By nigelt74 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 17 Jan 2012, 01:15 AM
  3. Help with adding a image to background bars CSS.
    By drgr33n in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 9 Feb 2011, 11:03 AM
  4. css page numbers - background-image
    By Mrchristoh in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 May 2009, 01:33 AM
  5. Changing to Background image in stylesheet?
    By stormysar in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 9 Feb 2008, 06:04 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR