Support » Plugin: mPress Banners » Random Banner on Page Load

  • Resolved jwright64


    Nice plug-in.

    Thought I would share that I found that you can use this plug-in to setup a persistent banner which changes randomly on page load by entering the following short-code to your post, page, or widget area:

    [mpress_banner banner="1, 2, 3" random="true" persistent="true" ]

    You will need to also add this CSS to your theme’s CSS file:

    .mpress-banner-wrapper.mpress-banner-persistent {
    height: XXX !important;
    margin: 0 !important;
    overflow: hidden;

    Where XXX is the height of ONE of your banners.

  • The topic ‘Random Banner on Page Load’ is closed to new replies.