Results 1 to 7 of 7
  1. #1
    Join Date
    Jul 2008
    Posts
    151
    Plugin Contributions
    0

    Default any help with my background image?

    I have my side boxes in the left column with an image.
    I am trying to get another image in the background to show through the sideboxes, only repeating down the page one on top of the other.

    I have tried all sorts and have this in css at the moment, which is not working:

    HTML Code:
    #navColumnOneWrapper, #navColumnTwoWrapper, #mainWrapper {
    	margin: auto;
    	} 
    #navColumnOneWrapper, #navColumnTwoWrapper {
    	margin-left: 0.5em;
    	margin-right: 0.5em;
    	}
    
    #navColumnOneWrapper {
                         background-image: url(../images/silverstars.PNG);
                         background-repeat: repeat-x;
                         background-color: transparent;
                         }
    and

    HTML Code:
    .leftBoxHeading, .centerBoxHeading, .rightBoxHeading {
    	margin: 0em;
    	background-color: transparent;
    	background-image: url(../images/sidebox.png);
    	padding: 0.0em 0.0em;
                         	}
    
    .leftBoxContainer, .rightBoxContainer {
    	margin: 0em;
    	border: 0px solid #518240;
    	margin-top: 1.5em;
                         	}
    
    .sideBoxContent {
    	background-color: transparent;
                         padding-top: 0.5em;
    	padding-left: 3.5em;
                         background-image: url(../images/sidebox.png);
    	}
    Any one know what I'm doing wrong?

  2. #2
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: any help with my background image?

    Your URL? It is very difficult to figure out without seeing what is happening.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Jul 2008
    Posts
    151
    Plugin Contributions
    0

    Default Re: any help with my background image?

    Okay, my site in progress is here. I have taken the background down at the moment as it looked ridiculous.

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

    Default Re: any help with my background image?

    You have got to pay attention to case as these are different and one is found and the other is not(space mine)
    Code:
    http ://www.miraclebaby.co.nz/estore/includes/templates/classic/images/sidebox.PNG
    http ://www.miraclebaby.co.nz/estore/includes/templates/classic/images/sidebox.png
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Jul 2008
    Posts
    151
    Plugin Contributions
    0

    Default Re: any help with my background image?

    I have made progress...finally just got it to repeat going down the left hand side only. However if you have a look you will see the problem right away. I need the silver star images to show through - be transparent. Can it be done?

    This is the code so far

    #navColumnOneWrapper {
    background-image: url(../images/silverstars.PNG);
    background-repeat: repeat-y;
    display: inline;
    float: left;
    }

    And site is here. Please - I am so close!

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

    Default Re: any help with my background image?

    Why are you padding the sideboxes?
    This is moving them 35px to the right
    Also is sidebox.PNG a semi transparent image?
    You can set the opacity of images in most editors
    Code:
    .sideBoxContent {
    	color: #ffffff;
                         padding-top: 0.5em;
    	padding-left: 3.5em;
                         background-image: url(../images/sidebox.PNG);
    	}
    Zen-Venom Get Bitten

  7. #7
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: any help with my background image?

    The stars in #navColumnOneWrapper are behind the individual sideboxes, so it is the sidebox bg you want transparent, not the stars.

    Since the sidebox bg's are so close to white at the left edge, you could cut them off just enough to clear the stars and position them at the right edge of the sideboxes, or else erase the white at the left edge and leave a transparent strip. The white background would show through behind the stars (or is it part of the stars bg image?)

 

 

Similar Threads

  1. 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
  2. help with background image
    By smallpigpig in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 4 Jan 2011, 02:46 AM
  3. Need Help with Background Image in Header Navigation
    By scottdev in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 4 Jun 2009, 07:28 PM
  4. Need help with background image
    By mplssign in forum Templates, Stylesheets, Page Layout
    Replies: 16
    Last Post: 4 Dec 2008, 07:15 PM
  5. add background image to a attribute then have that background image act as hyperlink
    By sike1234 in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 14 Nov 2008, 05:38 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