I saw that there’s a module called Floating block that should do what I’m searching for: but it duplicates the floating block, making it totally unusable.
Can you please tell me some other ways to accomplish that?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
By “float” do you mean have the CSS attribute “float” applied to it?
You can do this easily by looking at the HTML source code to get the Block div’s id (usually “block-block-3” or something) then adding a new style is the CSS to float it.
Look for this in the HTML source to identify the correct block ID:
Then in your active theme’s CSS file add an entry like this:
If you mean you want it to float in the same position as the user scrolls, you can use a jQuery plugin pretty easily to do that. I have used StickyFloat before with good success. Use the trick above to identify the correct block id to bind it to. Include jQuery and the plugin scripts, then bind it like so: