Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13
  1. #11
    Join Date
    Mar 2007
    Posts
    28
    Plugin Contributions
    0

    Default Re: background colour

    Hi Guys
    what if to add an image as background inseat of color! what will be the code to use?

  2. #12
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,691
    Plugin Contributions
    11

    Default Re: background colour

    Get yourself a copy to TopStyle Lite and use it to manipulate your css.

    If you wanted an image to the body, you would change
    HTML Code:
    BODY {
    background-color: #353535; /*#e5edf5;*/
    color: #353535;
    margin: 0px;
    margin-bottom: 10px;
    padding: 0px;
    font: 11px Verdana, Arial, sans-serif;
    }
    to
    HTML Code:
    BODY {
    background-image: url(imagepath/imagename);
    color: #353535;
    margin: 0px;
    margin-bottom: 10px;
    padding: 0px;
    font: 11px Verdana, Arial, sans-serif;
    }
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

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

    Default Re: background colour

    I always use background-color when I use background-image with a color close to the main color of the image. If the image is slow to load, the color will "cover" for the slowness.

    Code:
    #mainWrapper {
    	background-color: #000000;
      background-image: url('../images/space011.jpg');
    	text-align: left;
    	width: 100%;
    	vertical-align: top;
    	}
    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

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. background colour
    By cruiser84 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 6 Sep 2008, 06:54 AM
  2. How to Change Background Colour to Background image
    By ittybittykitty in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 9 Aug 2008, 04:36 PM
  3. Main Content Box Colour Vs. Background Colour
    By yoyodyne in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 6 May 2008, 02:50 PM

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