Hide Simple Banner
This will hide the banner by applying display: none; to the HTML element
>
>
Prepend element
This inserts the banner HTML at the top of the <body> element or the <header> element. Default is <body>.
>
>
Close button enabled
This feature uses strictly necessary cookies which do not require consent from users per GDPR guidelines
'; ?>
Close button expiration
Enter the amount of days until the banner should reappear (e.g. 14), fractions of days (e.g. 0.5), or the exact day and time (e.g. 21 Feb 2022 15:53:22 GMT). Default is 0.
Simple Banner Font Size
Leaving this blank sets the default to your theme CSS value
e.g. 16px
Simple Banner Background Color
Leaving this blank sets the color to the default value #024985
Simple Banner Text Color
Leaving this blank sets the color to the default value white
Simple Banner Link Color
Leaving this blank sets the color to the default value #f16521
Simple Banner Close Button Color
Leaving this blank sets the color to the default value black
Simple Banner Text
Leaving this blank removes the banner
Simple Banner Custom CSS CSS will be applied directly to the simple-banner class, the simple-banner-scrolling class for styles applied as the page scrolls, the simple-banner-text class for text specific styles, and the simple-banner-button class for close button specific styles. Be very careful, bad CSS can break the banner.
.simple-banner {
}
.simple-banner-scrolling {
}
.simple-banner-text {
}
.simple-banner-button {
}
Simple Banner Position
Change the position value of your banner
More info
>
>
>
>
>
>
A sticky element toggles between relative and fixed, depending on the scroll position. It is positioned relative until a given offset position is met in the viewport - then it "sticks" in place (like position:fixed).
Note: Not supported in IE/Edge 15 or earlier. Supported in Safari from version 6.1 with a -webkit- prefix.
>
>
Header Top Margin Apply margin to the top of your theme header
Will be disabled if banner is hidden, disabled, or closed
'; } ?>
e.g. 40px'; } else { echo 'Only available on Banner #1 as multiple header margin values would override each other.'; } ?>
Header Top Padding Apply padding to the top of your theme header
Will be disabled if banner is hidden, disabled, or closed
'; } ?>
e.g. 40px'; } else { echo 'Only available on Banner #1 as multiple header padding values would override each other.'; } ?>
z-index
CSS property sets the z-order of the banner
Default value 99999
More info
wp_body_open enabled
If enabled, will use the wp_body_open action to insert the banner to your site. This can be used to eliminate Cumulative Layout Shift issues. It will also disable the Prepend element and Insert Inside Element setting.
'; } else { echo 'Only available on Banner #1.'; } ?>