Confluence administrators can add a site-wide banner, i.e. a message or alert that will appear at the top of every page on your Confluence site.

スクリーンショット: サイト全体のバナーの例



To add a site-wide banner,

  1. Go to the Confluence 'Administration Console':

    • Choose Browse > Confluence Admin. The 'Administrator Access' login screen will be displayed.
    • Enter your password and click Confirm. You will be temporarily logged into a secure session to access the 'Administration Console'.
  2. 左側のパネルの [ルック アンド フィール] セクションで [カスタム HTML] をクリックします。
  3. [編集] をクリックします。
  4. [本文の開始] テキストボックスに次のコードを追加します。
    <!-- Message Banner -->
    <div style="background-color: yellow; border: 2px solid red; margin: 4px; padding: 2px; font-weight: bold; text-align: center;">
    Your important message...
    </div>
    
  5. [保存] をクリックします。

バナーをページの下部に追加したい場合、コードを [本文の最後] テキストボックスに追加します。

(info) If your banner significantly increases the height of your Confluence site footer, you may need to add HTML to allow for the extra height of a custom footer.

関連トピック

Customising Look and Feel Overview