Results 1 to 5 of 5
  1. #1
    Join Date
    May 2007
    Posts
    49
    Plugin Contributions
    0

    Default Changing to Background image in stylesheet?

    I want to change the background of my store (not the main body where the products show up between sideboxes) and use an image. Where do I find the listing for the background and what code would I use for the image?

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Changing to Background image in stylesheet?

    Try a link to your site
    Zen-Venom Get Bitten

  3. #3
    Join Date
    May 2007
    Posts
    49
    Plugin Contributions
    0

    Default Re: Changing to Background image in stylesheet? (now styling is gone!)

    The link I'm using is just in a folder I am using for testing. I had used ZC originally for my shopping cart, then switched to a few others to try, and have decided ZC rocks and it's the best for my needs. So now i"m going back, and before I make my store live on this cart, I want to customize it. There are no products or ANYTHING, I'm just working on the stylesheet right now.

    www.motherhoodnaturally.com/ZCTEST/

    I am trying to use an image for the background, replacing the light blueish color on either side. I'm not sure where to find that in the stylesheet, and what coding to connect it to the image. I uploaded the image into my includes/templates/custom/images folder.

    But since making and installing my new template, all of the buttoms and other styling seems to have gone missing. I remember having trouble with this the first time I used ZC and I dont remember how i fixed it. Turning .htaccess into a .htaccess_OFF doesn't work. Last time I didn't have to contact my host so I'm trying to do what I can on my own before contacting them. I would have re-installed my old cart, but stupid me never backed them up, then installed another zc cart into the same database for a different store I'm setting up (didn't realise I had to set up a new db for it), and lost everything. GRR!

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Changing to Background image in stylesheet?

    In your stylesheet add the highlighted values and this is for a tile that repeats both vertically and horizontaly as you did not specify your image type
    Code:
    body {
    	margin: 0;
    	font-family: verdana, arial, helvetica, sans-serif;
    	font-size: 62.5%;
    	color: #000000;
    	background-color: #f2e5f5;
            background-image: url(../images/your_image.jpg);
            background-repeat: repeat;
    	}
    Place your image in your template /images folder
    Zen-Venom Get Bitten

  5. #5
    Join Date
    May 2007
    Posts
    49
    Plugin Contributions
    0

    Default Re: Changing to Background image in stylesheet?

    Thank you! I'll send my other questions in a new post.

 

 

Similar Threads

  1. Adding a background image/texture to stylesheet.css
    By irori in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 28 Jul 2012, 10:52 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. Changing Background Image
    By bubblegumgoods in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 30 Jan 2008, 09:34 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