Monday, September 26, 2011

Column Width Not Working

Recently, I tried to define the width of a column as such:

{section}
{column:width=400px}
Cell 1A
{column}
{column:width=400px}
Cell 1B
{column}
{section}

However, Confluence would not recognize the defined widths. After spending hours trying to figure out the solution, I found a JIRA ticket that provided a workaround—add a blank column at the end of each section.

{section}
{column:width=400px}
Cell 1A
{column}
{column:width=400px}
Cell 1B
{column}
{column} {column}
{section}

Thanks to Tomi Strugar for the workaround.

Thursday, September 22, 2011

Add a Site-wide Banner

To add a site-wide banner to Confluence:
  1. From the Browse dropdown, select Confluence Admin.
  2. The Administration Console page opens.
  3. Locate the Look and Feel section toward the middle-left of the page.
  4. Select Custom HTML.
  5. The Custom HTML page opens showing the Insert Custom HTML table.
  6. Press the Edit button at the bottom of the table.
  7. In the At Beginning of the Body text box, enter code similar to:
    • <!-- Message Banner -->

      <div style="background-color: gold; border: 2px solid red; margin: 4px; padding: 2px; font-weight: bold; text-align: center;">

      Enter message here.

      </div>















  8. Press the Save button.
________________________________________________________________

TIP! When you no longer need the banner, comment it out instead of deleting it from the table.

Additional information can be found here.