WordPress.org

Ready to get started?Download WordPress

Forums

WP Float
[resolved] Need the window to stop floating (6 posts)

  1. cecile.mendes@gmail.com
    Member
    Posted 1 year ago #

    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/

  2. samhagin
    Member
    Plugin Author

    Posted 1 year ago #

    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

  3. Signeos
    Member
    Posted 1 year ago #

    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?

  4. samhagin
    Member
    Plugin Author

    Posted 1 year ago #

    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

  5. JeroenB91
    Member
    Posted 1 year ago #

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

  6. samhagin
    Member
    Plugin Author

    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic