Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Bojan Radonic – WPMU DEV Support

    (@wpmudev-support4)

    Hey RoyT,

    Hope you’re well today ??

    This is not possible out of a box with but we should definitely be able to do this with some custom CSS.

    Can you please post link to your page where I can see the popup so I can suggest some CSS to push it to the top of the page?

    Cheers,
    Bojan

    Hi Bojan, thank you for suggesting to get free support here on WP!
    We need a custom CSS to add only under the popups that we want to reposition example bottom right of screen. Can you help us with that?

    Best,
    Andrea

    Plugin Author Bojan Radonic – WPMU DEV Support

    (@wpmudev-support4)

    Hey Andrea,

    How are you doing today?

    Sure thing ??

    In the future I’d like you to open your own thread so we don’t spam the thread opener with our responses, since you already posted here I’ll respond here as well ??

    With that being said this will be more complicated then I thought, putting it to the top is definitely possible with only CSS, in order to do what you want we’ll have to include PHP and use one of the filters that is added to the plugin.

    Please try adding the following to your theme functions.php (Ideally you’d want this added in your child theme functions.php so you can avoid losing it once your theme gets updated):

    add_filter( 'popup-template-position', 'my_custom_popup_position', 10, 3 );
    function my_custom_popup_position( $pos, $id, $popup ) {
        $pos = array( 'top' => 'auto', 'bottom' => '0', 'right' => '0' );
        return $pos;
    }

    Please note that this filter will only work if we use “Use custom size” option from popup admin, see screenshot https://screencast.com/t/RpKkJKIVM.

    Hope this helps and have a great weekend ??

    Cheers,
    Bojan

    Hi Bojan! Sorry everyone if this message might have offended you or caused spam issue. I will write a new thread no problem.

    Best to all,
    Andrea

    Plugin Author Bojan Radonic – WPMU DEV Support

    (@wpmudev-support4)

    Hey again Andrea,

    Posting here is not really that big deal, generally I just say this so the thread opener email is not getting emails related to something that we’re discussing with someone else if that makes sense.

    Please let me know if the solution works for you ??

    Cheers,
    Bojan

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Positioning’ is closed to new replies.