Support » Plugin: WP Float » Need the window to stop floating

  • Resolved cecile.mendes@gmail.com

    (@cecilemendesgmailcom)


    Hello,

    Thank you, thank you for your great plugin! I needed something just like that in the beginning. An html window that would overlap the image slider but now I realize that depending on the screens the window overlaps the footer menu, or other items… I would need it to basically stop floating, and just scroll down normally with the rest of the window. My site is http://www.sih.com
    How can I do this? Thank you for your help.

    http://wordpress.org/extend/plugins/wp-float/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author samhagin

    (@samhagin)

    you should set the type to FIXED instead and to have it on the image you can modify the distance from left/right, distance from top/bottom

    I’m having the same problem, but using the following shortcode:

    [wp_float type=”fixed” location=”top” align=”right” center=”true” offsetlocation=”330″ offsetalign=”510″ speed=”0″ width=”160″ ]
    <img src=”http://www.signeos.com/wp-content/uploads/2012/11/learnmorec.png”>
    [/wp_float]

    page: http://www.signeos.com

    The image floats with the scroll instead of remaining on the content. Anything I can do to keep it fixed?

    Plugin Author samhagin

    (@samhagin)

    By default,whether FIXED or FLOAT, the item is always visible, if however you want it to stay at one place, you can add this code after the shortcode in HTML mode

    <script>
    jQuery(document).ready(function(){
    jQuery('#wp-float-post-19').css('position','absolute');
    });
    </script>

    wp-float-post-19 is the unique id assign to the item

    @samhagin
    Is there a way to make it stay at the same place, but using the settings page instead of the shortcode?

    Plugin Author samhagin

    (@samhagin)

    the same code applies if you are using wp float settings. just find the id and replace wp-float-post-19

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Need the window to stop floating’ is closed to new replies.