# Wrap text around image

**URL:** <https://community.weweb.io/t/wrap-text-around-image/4615>\
**Category:** Ask us anything\
**Tags:** design\
**Created:** [September 27, 2023, 11:46am UTC](https://community.weweb.io/t/wrap-text-around-image/4615 "2023-09-27T11:46:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adam](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/adam/32/9449_2.png) [@Adam](https://community.weweb.io/u/Adam)\
**Post date:** [September 27, 2023, 11:46am UTC](https://community.weweb.io/t/wrap-text-around-image/4615/1 "2023-09-27T11:46:45Z")

</div>

How do I wrap a text around an image? I searched online and everything I saw said to add “float:”  
I tried adding that to my custom css on the element but it didn’t work. What am I missing?

Image included as example:  
 ![Screen Shot 2023-09-27 at 2.46.11 PM](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/0/06060db3099f21a100ae6c773c845382e123c545.png)

---

<div class="post-metadata">

**Author:** ![luka](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/luka/32/1571_2.png) [@luka](https://community.weweb.io/u/luka)\
**Post date:** [September 29, 2023, 8:35am UTC](https://community.weweb.io/t/wrap-text-around-image/4615/2 "2023-09-29T08:35:42Z")

</div>

![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/2/256d7c2ecbd8f51997bd4ebd45c25c3061c60467.png)

You put float css on the image parent div

your divs need to be display: block instead of flex also
