Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2008
    Posts
    5
    Plugin Contributions
    0

    Default image behind main content?

    hello is there a way to put a tiling image behind all the content side boxes centre boxes etc?

    not in the dead browser space as is popular but in the actual zen cart pages every thing below the header.

    I hope I'm making sense, thanks in advance

    Jim

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

    Default Re: image behind main content?

    Yes, of course. Look at the Fan Odyssey site in my sig for an example. You add the image to your stylesheet (includes/templates/YOUR_TEMPLATE/css/stylesheet.css). The sections below are from the stylesheet for the Fan Odyssey site.

    Code:
    /*wrappers - page or section containers*/
    #mainWrapper {
    	background-color: #000000;
      background-image: url('../images/space011.jpg');	text-align: left;
    	width: 100%;
    	vertical-align: top;
    	}
    
    #headerWrapper, #contentMainWrapper, #logoWrapper, #cartBoxListWrapper, #ezPageBoxList, #cartBoxListWrapper ul, #ezPageBoxList ul, #mainWrapper, #popupAdditionalImage, #popupImage {
    	margin: 0em;
    	padding: 0em;
    	}
    
    #logoWrapper{
      background-image: url('../images/space011.jpg');
    	background-repeat: repeat-x;
    	background-color: #000000;
    	height:110px;
    	width: 100%;
    	}
    Code:
    #navMainWrapper, #navSuppWrapper, #navCatTabsWrapper {
    	margin: 0em;
    	background-color: #000000;
    	background-image: url('../images/space011.jpg');	padding: 0.5em 0.2em;
    	font-weight: bold;
    	color: #ffffff;
    	height: 1%;
    	width: 100%;
    	}
    
    #navCatTabsWrapper {
    	background-color: #000000;
    	background-image: url('../images/space011.jpg');	color: #ffffff;
    }
    Code:
    .centerBoxWrapper {
      background-color: #000000;
      background-image: url('../images/space011.jpg');	border: 1px solid #9a9a9a;
    	height: 1%;
    	margin: 1.1em 0;
    	}
    Code:
    .leftBoxContainer, .rightBoxContainer {
      background-color: #000000;
      background-image: url('../images/space011.jpg');	margin: 0em;
    	border: 1px solid #c0c0c0;
    	border-bottom: 5px solid #COCOCO;
    	margin-top: 0.5em;
    	}
    
    .sideBoxContent {
      background-color: #000000;
      background-image: url('../images/space011.jpg');	padding: 0.4em;
    	}

  3. #3
    Join Date
    Aug 2008
    Posts
    5
    Plugin Contributions
    0

    Default Re: image behind main content?

    Thank you very much, works a treat.

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

    Default Re: image behind main content?

    Glad to help.

 

 

Similar Threads

  1. Image behind main site
    By debtag in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 22 Jan 2008, 09:40 AM
  2. Color behind Content??
    By ssdsarah in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 9 Aug 2007, 05:18 AM
  3. Header image partially hidden behind page content
    By brennon in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 16 May 2007, 08:21 PM
  4. adding background image to main content area
    By whiteboxer in forum Basic Configuration
    Replies: 12
    Last Post: 17 Jul 2006, 06:42 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