Results 1 to 7 of 7
  1. #1
    New Pligger JusnKrdibl's Avatar
    Joined
    May 2008
    Posts
    3

    Question [SOLVED] Change Background To A Static Image

    Hi All,

    I'm working on a new Pligg site and was wondering if it is possible to have an image as the background of the site. I've read up on how to change the color of the background, but have yet to see anyone ask if it can be set to an image.

    An example would be, for instance on OpiNr.com, if I wanted to have this image:
    http://interfacelift.com/wallpaper/d..._1280x1024.jpg

    as a static background across the whole page (not including header), where the videos would just scroll over the static background. Would this image need to be chopped into 3 parts (2 sidebars, and main)?

    If anyone has an example of code that would work, feel free to use the example above in the code you provide and I will edit it to my own needs.

    Thanx In Advance

  2. #2
    New Pligger JusnKrdibl's Avatar
    Joined
    May 2008
    Posts
    3
    Sorry, had to bump. I really think this could help all our pages get a better look, if this can be solved.

  3. #3
    Pligg Donor dollars5's Avatar
    Joined
    Dec 2006
    Posts
    1,960
    upload that image to your images folder and change the css for body to:
    background: #000000 url("../images/01355_smoke_1024x768.jpg") no-repeat scroll center top;

  4. #4
    New Pligger opinr's Avatar
    Joined
    Nov 2007
    Posts
    2

    Question

    Okay, so now that we established setting the image as the background for the page. Is there any way to make the center columns (ones displaying the story content, summaries, links, etc.) have a transparent background so that the image can be seen across the entire page?

    Thanks for the help.

  5. #5
    New Pligger JusnKrdibl's Avatar
    Joined
    May 2008
    Posts
    3
    Thank you dollar5, that was an extreme help. Must have been trying to do that for a least a month. But just as opinr has stated, is there a way to make the center transparent, instead of a color?

  6. #6
    Constant Pligger Andtony's Avatar
    Joined
    Feb 2007
    Posts
    226
    You can control the colors and backgrounds of every element from your template's CSS-file.
    Compare your template files and your CSS-file and take off all background colors that you want to change to transparent. If background is not set it's transparent.

  7. #7
    Pligg Donor dollars5's Avatar
    Joined
    Dec 2006
    Posts
    1,960
    Quote Originally Posted by opinr View Post
    Okay, so now that we established setting the image as the background for the page. Is there any way to make the center columns (ones displaying the story content, summaries, links, etc.) have a transparent background so that the image can be seen across the entire page?

    Thanks for the help.
    same as Andtony said, make sure you donot have background with colors:
    instead of background:#000000 url.... use background:transparent url...

    particularly if the background for .full - the header bg block also would work fine. Btw: there are all simple CSS tips that any decent CSS book or a simple google search should help you - make sure you try them before posting for simple CSS helps.

Similar Threads

  1. How to add background image on the top of the site
    By A_Skywalker in forum Questions & Comments
    Replies: 5
    Last Post: 11-01-2010, 05:32 AM
  2. Colar change Background sidebar2.tpl thestandard template.
    By MarioF in forum Questions & Comments
    Replies: 2
    Last Post: 08-08-2009, 06:04 AM
  3. Change Vote button background
    By sbanerjee in forum Questions & Comments
    Replies: 1
    Last Post: 03-12-2009, 12:38 PM
  4. how to change background color?
    By learningnewthings in forum Questions & Comments
    Replies: 4
    Last Post: 12-11-2008, 05:22 PM
  5. How do I stretch a background image across the top?
    By tjpligg in forum Questions & Comments
    Replies: 5
    Last Post: 10-18-2007, 03:32 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
  •  
Pligg Modules and Pligg Templates from Pligg Pro Donate to Pligg CMS Dreamhost Web Hosting Host Gator Web Hosting