WebsiteBaker Community Forum

General Community => Off-Topic => Topic started by: newb on December 17, 2007, 02:16:42 PM

Title: background image
Post by: newb on December 17, 2007, 02:16:42 PM
Hi community,

How can I set an Image as the general background of my site?
I want an Image to be shown in the background of every single site, on my homepage. Is that possible?

I have the version 2.6.5

thanks to all
Title: Re: background image
Post by: ruebenwurzel on December 17, 2007, 02:32:03 PM
Hello,

this can be done with html and css in your template files. For more infos look on our bookmarks list for html and css help.

http://help.WebsiteBaker.org/pages/en/bookmarks.php (http://help.WebsiteBaker.org/pages/en/bookmarks.php)

Have fun

Matthias
Title: Re: background image
Post by: Hoschi on December 18, 2007, 02:34:58 PM
ok..

can it be done directly with the standard editor? HtmlArea /     WYSIWYG Editor
Title: Re: background image
Post by: marathoner on December 18, 2007, 03:59:36 PM
No, WYSIWYG editors are used for the content of each page and not the general layout which is defined in the template. If you want it on every page then you will need to modify your template and your CSS files.
Title: Re: background image
Post by: Hoschi on December 18, 2007, 04:32:32 PM
ah ok.
But can it be done with the HtmlArea editor, when i want it only on one WYSIWYG site?

p.s. sorry for my bad english, i'm originally German  :)
Title: Re: background image
Post by: marathoner on December 18, 2007, 05:25:06 PM
If you want it on the entire site then you need to modify the template index.php and CSS files. You can modify these locally using any text editor and then upload them to your server. Alternatively, there are a couple of addons that allow you to modify these files directly on the server (be sure to make a backup copy first).

If you want it only on one page then you could use a WYSIWYG editor but you'll still need to edit your CSS or use inline CSS styles for a background image. Be aware that this background image would only apply to the content area and not the entire page.
Title: Re: background image
Post by: elogoid on January 10, 2008, 01:09:52 AM
Hi community,

How can I set an Image as the general background of my site?
I want an Image to be shown in the background of every single site, on my homepage. Is that possible?

I have the version 2.6.5

thanks to all

You can use the <BODY
    BGCOLOR="#AAAAFF"
    BACKGROUND="../graphics/bgtest.gif" etc..

However you should be warned that you should not do this becoz of loading time. If your page takes to long to load you will loose valuable traffic. I suggest slicing the image to reduce loading time on a particular page.
 The industry standard for html editor by far is Dreamweaver and is the best in the business when it comes to designing websites.
 Most web site visitors spend 0-30 seconds on a page. If it takes longer then 10 seconds to load you may lose a visitor.
 Also depending on your hosting provider some may accept PHP or ASP or both. But not all accept either or. Such as godaddy hosting only accepts ASP.
 I am a professional web designer, if you have any questions please feel free to contact me or visit my blog or website.