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.

<div class="bocss-banner">
    <div class="bocss-banner__wrapper">
        <p class="bocss-banner__message">Use a fixed banner (like this) to display a message along the bottom of a webpage.</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>

Shortcode


                [Banner message="Use a fixed banner (like this) to display a message along the bottom of a webpage."]
            
Parameter Values Description
post_id user-specified Specifies the (page or post) ID to link to
message user-specified Specifies the message to display
button user-specified Specifies the optional button to display
params user-specified Specifices any parameters to append to the URL