• Resolved mariods

    (@chaosm)


    Hello. Thanks for your plugin. Its very cool.
    I have one question. Is it possible to display at only one page? Like contact page, with a shortcode or something similar? Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author David Sword

    (@davidsword)

    Hello there,

    Thanks!

    You can “hack” that feature in with CSS by adding the following to your theme, or in Admin Dashboard > Appearance > Customizer > Custom CSS. It overrides the plugins normal display settings and hides the plugin on all pages, except for the page you want, you write it in to show. I haven’t tested this, but it should be something like:

    html body div#rpb {
      display: none !important;
    }
    @media screen and (max-width: 560px) {
      html body.page-1234 div#rpb { display: flex !important; }
      html body.page-1234 div#rpb_spacer { display: block !important; }
    }

    Where 1234 is the ID of your contact page and 560px is the pixel width at which point you’d like the buttons to show at (same value selected in settings “Display On”

    I’ve taken note of this feature request for the possible future.

    Let me know how it works out!

    Thread Starter mariods

    (@chaosm)

    Hi and thanks for your reply. It worked with a little change

    html body.page-1234 to html body.page-id-1234

    Thanks for all ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Display on specific Page’ is closed to new replies.