Skip to end of banner
Go to start of banner

How to work around background color row style incompatibility in Confluence 5.0

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Description

Starting with Confluence 5.0-rc1, a compatibility bug (CONF-28098was introduced that overrides attempts by users and macros to provide row level background setting. For instances, this impacts table based macros including:

This impacts at least:

  1. Row highlighting on mouse-over
  2. Customized row styles like table stripping - see How to control table display characteristics for instance

It also impacts users using more advanced table producing techniques that use the confluenceTable style.

CONF-28098 will be fixed at some point after 5.0, until then the following work around can be used to revert the error to the previous state.

Steps

  1. Go to Confluence administration -> Look and Feel -> Custom HTML
  2. Edit
  3. Add the following to the *At end of the HEAD* section and save:

    <style type="text/css">
    .confluenceTable .confluenceTd
    { background-color: transparent; }
    </style>

On Demand

While the problem may not have appeared in OnDemand, it will (sad). Unfortunately, the workaround suggested above is not available with OnDemand. Alternatives are to use the css macro and insert the equivalent css onto a page. If you are using the documentation theme, it is also possible to insert the css macro in the Header section of the theme configuration.

 

  • No labels