Banner

Use a fixed banner to display a message (and optional button) along the bottom of a webpage. For quick reference, see technical parameters.

Example

Use a fixed banner (like this) to display a message along the bottom of a webpage.


                    [Banner message="Use a fixed banner (like this) to display a message along the bottom of a webpage."]
                
<div class="bocss-banner">
    <div class="bocss-banner__wrapper">
        <p class="bocss-banner__message"><span class="bocss-banner__message-text">Use a fixed banner (like this) to display a message along the bottom of a webpage.</span></p>
        <button class="bocss-banner__dismiss" aria-label="close">
            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="bocss-banner__icon">
                <line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line>
            </svg>
        </button>
    </div>
</div>
Parameter Values Description
button user‑specified Add a button (optional)
id user‑specified Banner’s HTML ID
message user‑specified Message to be displayed
params user‑specified Parameters to add to the URL
post_id user‑specified Page or post ID the banner links to