Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Jan 2010
    Posts
    80
    Plugin Contributions
    0

    Default Transparent background

    I would like my template to be transparent for me to add a custom background. But I cant't make it work. In my theme's css I set:

    Code:
    body {
    	margin: 0;
    	margin-top: 10px;
    	font-family: verdana, arial, helvetica, sans-serif;
    	font-size: 62.5%;
    	color: #999999;
    	background-color: #000000;
    	background-image: url(../images/pagebg.gif);
    Is it right?

    and what about tables background? In fact I would like all my templete to be transparent.

  2. #2
    Join Date
    Jan 2009
    Location
    Ireland
    Posts
    431
    Plugin Contributions
    0

    Default Re: Transparent background

    What template are you using?
    I have managed it with the comstock template

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

    Default Re: Transparent background

    background-color: #000000;


    Any background-color beside transparent is not transparent. If you delete the background-color property, it will default to transparent.

    You also need to check background: and background-color: properties for other page elements, especially #mainWrapper, #headerWrapper, #contentMainWrapper, etc.

  4. #4
    Join Date
    Jan 2010
    Posts
    80
    Plugin Contributions
    0

    Default Re: Transparent background

    Quote Originally Posted by gjh42 View Post
    background-color: #000000;


    Any background-color beside transparent is not transparent. If you delete the background-color property, it will default to transparent.

    You also need to check background: and background-color: properties for other page elements, especially #mainWrapper, #headerWrapper, #contentMainWrapper, etc.
    i

    Thanks for your answer!
    So I have to delete background-color,right?
    Ok I will try,let's see!

  5. #5
    Join Date
    Jan 2010
    Posts
    80
    Plugin Contributions
    0

    Default Re: Transparent background

    Can't make it work...
    I'm using Zj black template and my url is http://www.distro.metal666.org/
    Could you please take a look and help me to do the right modifications?

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

    Default Re: Transparent background

    Quote Originally Posted by Ishtar
    Can't make it work...
    You need to read the suggestions Completely
    Quote Originally Posted by gjh42
    You also need to check background: and background-color: properties for other page elements, especially #mainWrapper, #headerWrapper, #contentMainWrapper, etc.
    Your mainWrapper
    Code:
    #mainWrapper {
    	background-color: #000000;
    	text-align: left;
    	width: 96%;
    	vertical-align: top;
    	border: 1px solid #000;
    	}
    Zen-Venom Get Bitten

  7. #7
    Join Date
    Jan 2010
    Posts
    80
    Plugin Contributions
    0

    Default Re: Transparent background

    Quote Originally Posted by kobra View Post
    You need to read the suggestions Completely

    Your mainWrapper
    Code:
    #mainWrapper {
    	background-color: #000000;
    	text-align: left;
    	width: 96%;
    	vertical-align: top;
    	border: 1px solid #000;
    	}
    Thanks for your answer,but please explain it better. Have I add the background image and eliminate the background color? or what is?

    I'm spanish and it's very difficult for me to understant some things although I try,I promise

    Please tell me! Must I eliminate and add what?

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

    Default Re: Transparent background

    You need to search everywhere in your stylesheet for background: or background-color:, and try changing the color #xxxxxx to transparent.
    Look at your site after each change to see what it does, and change it back if it doesn't help.

  9. #9
    Join Date
    Jan 2010
    Posts
    80
    Plugin Contributions
    0

    Default Re: Transparent background

    Quote Originally Posted by gjh42 View Post
    You need to search everywhere in your stylesheet for background: or background-color:, and try changing the color #xxxxxx to transparent.
    Look at your site after each change to see what it does, and change it back if it doesn't help.
    Ok,now it's better understood for me,thanks!

    And must add only the bg image in body or must add it to all places with need to?


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

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. BackGround % Transparent
    By Osiyo in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 15 Sep 2008, 05:05 AM
  2. transparent background
    By mthem2003 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 18 Apr 2008, 04:05 PM
  3. transparent background in wrappers so BODY background shows through
    By kjharrison in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 3 Sep 2006, 11:37 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