If you are an administrator of your FlexWiki site, you can change the visual appearance of your site by overriding the CSS styles used for the site. To do this, you need to add a key to your web.config file to indicate the CSS file to use for overrides.
This will cause all of the pages generated as part of the wiki site to include your override stylesheet after including the standard (wiki.css) file. This means that you redefine styles that are defined in wiki.css to create your own look for your site. This is particularly easy since you only need to specify the properties that you want to override.
For example, you could have a CSS file like this:
.Main
{
BACKGROUND: url(/watermark-mysite.jpeg) white fixed no-repeat center center;
border: solid 12px green;
}
.Sidebar
{
background: green;
}
This would set the border around your site to be green and add a custom watermark to the content pages.
Q What do I need to do to make CSS overrides have an effect on non-default namespaces? I've tried specifying the full URL for the CSS, '~/override.css', '/override.css' and 'override.css, but none of them have any effect on a page that is part of a non-default namespace -- DerekLakin
A This problem only affects virtual directories, i.e localhost/flexwiki/ in which case set the override to '../override.cs' and create a default.htm in the same folder as default.aspx that redirects to /default.aspx/<Your Namespace>.HomePage -- DerekLakin
Q I'm trying to change my link style so that new links (that have no page associated with them), show up differently than unvisited links that do have pages associated with them. For the life of me I can't figure out which property I have to set in my css file. -- SusanMcCormick
background information about FlexWiki
8/19/2007 10:36:06 AM - -66.78.124.101
a sample of stylesheet settings
9/12/2007 7:46:05 PM - -10.10.192.22
Derek Lakin is a C# .NET developer primarily focusing on Windows Forms development and a CoreDeveloper for FlexWiki. Currently employed by "Content Master":http://www.contentmaster.co.uk producing learning material, white papers, and presentations, primarily for "Microsoft":http://www.microsoft.com.
9/11/2007 2:17:20 PM - -74.12.234.30
Derek Lakin is a C# .NET developer primarily focusing on Windows Forms development and a CoreDeveloper for FlexWiki. Currently employed by "Content Master":http://www.contentmaster.co.uk producing learning material, white papers, and presentations, primarily for "Microsoft":http://www.microsoft.com.
9/11/2007 2:17:20 PM - -74.12.234.30
configuration details for using OverrideStylesheet
9/13/2007 3:20:35 PM - -74.15.247.173
information about how FlexWiki's page borders work and how to go about customizing them