We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You need to opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
Tags:
create new tag
, view all tags

Question

i have noticed that all TWiki sites have a white background (not the top and bottom color but the centre of the page) is it possible to change this without applying a skin ie i wan to change my web not the overall site.....

-- GraemeMilligan - 12 Dec 2002

Answer

Set a different bgcolor in the body tag of the templates or skins, e.g. in view.tmpl set:

<body bgcolor="#cccccc">

to define a light gray. See other StandardColors.

-- PeterThoeny - 13 Dec 2002

Or, better, in view.tmpl set:

<body bgcolor="%WEBBGCOLOR%">

So that you can put in the site prefs and each web prefs declarations such as:

      * Set WEBBGCOLOR = #f4d2e7

Or, use CSS: In view.tmpl, put a

<style type="text/css">%CSS%</style>
declaration in the <head> section, so that you can define in web prefs something like:
      * Set CSS = body {background:#f4d2e7}

-- ColasNahaboo - 14 Dec 2002

Topic revision: r3 - 14 Dec 2002 - 11:32:03 - ColasNahaboo
Support.ChangeBackGroundColor moved from TWiki.BackGroundColor on 13 Dec 2002 - 04:28 by PeterThoeny - put it back
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback