1. Home
  2. FAQs
  3. Fix Floating Widget Content

Fix Floating Widget Content

To fix this problem, you want to add some CSS code to make the div around the content float left.

Screen Shot 2014-03-13 at 9.04.50 AM

How to fix this

If you add HTML to a text widget that is floating outside of the widget box, take the code below, and place your HTML in the middle where it says HTML goes here.

<div style="float:left;" >

<!-- HTML code goes here -->

</div>

Result

Screen Shot 2014-03-13 at 9.05.14 AM

Updated on March 6, 2025

Was this article helpful?

Related Articles


Need Help?

1. Try searching for answers. Try searching different terms if you can't find a answer. 2. Try troubleshooting if something is not working.

3. If you can't find answers, click to leave a comment. Provide website links and detailed information.