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

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2002-12-14 - ColasNahaboo
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.