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:
Row highlighting on mouse-over
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
Go to Confluence administration -> Look and Feel -> Custom HTML
Edit
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 . 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!