cecile.mendes@gmail.com
Member
Posted 7 months 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/
samhagin
Member
Plugin Author
Posted 6 months 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
Signeos
Member
Posted 6 months 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?
samhagin
Member
Plugin Author
Posted 6 months 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