• Resolved nay-k

    (@nay-k)


    Hi,
    I am using the alligator plugin for a webplayer of an online radio.
    I tried to link the popup into my own button (using a shortcode by the theme) but I can’t get it to work. I tried using this code:

    [button title=”Jetzt hören” link=”http://www.radiosaborlatinos.com/webplayer/” class=”popup” data-height=”800″ data-width=”700″ data-scrollbars=”0″ color=”second-light” ]

    it is opening a blank popup and not even in the dimensions 800×700…

    but when I use a normal text link it is working:
    JETZT HÖREN

    How can I get the button to work?

    https://ww.wp.xz.cn/plugins/alligator-popup/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter nay-k

    (@nay-k)

    this is the link code I am using…
    <a class="popup" href="http://www.radiosaborlatinos.com/webplayer/" data-height="800" data-width="700" data-scrollbars="0">JETZT HÖREN</a>

    Plugin Author cubecolour

    (@numeeja)

    You can either use the text link or an alligator popup shortcode, but buttons are not supported. You can however style the link with some CSS rules in your child theme or with a custom CSS plugin to style the link as a button — eg:

    .popup {
      background-color: #fff;
      border: 1px solid #bada55;
      color: #bada55;
      padding: 8px 16px;
    }
    
    .popup:hover {
      background-color: #bada55;
      color: #fff;
      text-decoration: none;
    }
    Thread Starter nay-k

    (@nay-k)

    BRILLIANT IDEA!
    Works like a charm. Thanks for the immediate support.

    Plugin Author cubecolour

    (@numeeja)

    Great! I’m glad that helped.

    If you would like to post a review of the plugin, that would be very much appreciated: https://ww.wp.xz.cn/support/view/plugin-reviews/alligator-popup

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Pop up with own button’ is closed to new replies.