Working Around Background Color Row Style Incompatibility in Confluence 5.0

On this page

Overview

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

This impacts at least the following:

  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 in 5.1.2 and 5.2, 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>

Cloud

While the problem may not have appeared in Cloud, it will (sad). Unfortunately, the workaround suggested above is not available with Cloud. 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 so that it can apply to the entire space.


Other Examples

Visit our full list of product examples for additional inspiration!

Log a request with our support team.

Confluence®, Jira®, Atlassian Bamboo®, Bitbucket®, Fisheye®, and Atlassian Crucible® are registered trademarks of Atlassian®
Copyright © 2005 - 2024 Appfire | All rights reserved. Appfire™, the 'Apps for makers™' slogan and Bob Swift Atlassian Apps™ are all trademarks of Appfire Technologies, LLC.