开发者 | rpetersen29 |
---|---|
更新时间 | 2024年12月19日 12:33 |
捐献地址: | 去捐款 |
PHP版本: | 3.0.1 及以上 |
WordPress版本: | 6.7.1 |
版权: | GPLv3 |
版权网址: | 版权信息 |
This is how the banner will look in your HTML:
<code> <div id="simple-banner" class="simple-banner"> <div class="simple-banner-text"> <span> YOUR SIMPLE BANNER TEXT HERE </span> </div> </div> </code>
Your browser frequently caches scripts associated with a website in order to improve speed and performance. There are also some wordpress plugins that cache scripts to improve performance. If you aren't seeing your banner or the changes you made to the banner, first clear your browser cache and if that doesn't work, look for any plugin that bundles or caches scripts and clear that as well.
Your theme probably uses absolute positioning for its header in this case. Try changing the positioning of your banner or change "Prepend element" to
and see if that helps. If none of this works, you may need a custom solution for your banner. You can either try to find another plugin that suits your needs or you can purchase the pro version and open a support ticket to fix your situation.
Yes, but you should look through the support topics before you decide if you need the pro version.
Yes, they are used only if you enable the close button. These cookies fall under the category of "strictly necessary cookies" and do not need consent from the user, more information here. If cookies are disabled on the user's browser, the banners close button expiration setting will not work and the banner will show on each refresh.
You can clear your browser's cookies or in the browser's console you can execute:
document.cookie = "simplebannerclosed=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/";
You can also set your Close button expiration to blank, 0, or a date in the past. This method may require a refresh or two of the browser on your website page.
Try setting the "Prepend element" setting to header
. If that doesn't work, set your banner position to relative
and try this in 'Website Custom CSS':
#main-header:not(.et-fixed-header) { position: relative; }
#top-header:not(.et-fixed-header) { position: relative; }
administrator
role..simple-banner-button
class to allow custom close button styles..simple-banner-text
class to allow custom text styles. Removed text from page source code when disabled..simple-banner-scrolling
class to allow custom scrolling styles.wp_open_body
for banner insertion.