# Dynamic header image using rich text

**URL:** <https://community.glideapps.com/t/dynamic-header-image-using-rich-text/71785>\
**Category:** Ask for Help\
**Created:** [March 19, 2024, 2:45am UTC](https://community.glideapps.com/t/dynamic-header-image-using-rich-text/71785 "2024-03-19T02:45:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Keith\_Chikumbirike](https://avatars.discourse-cdn.com/v4/letter/k/5daacb/32.png) [@Keith\_Chikumbirike](https://community.glideapps.com/u/Keith_Chikumbirike)\
**Post date:** [March 19, 2024, 2:45am UTC](https://community.glideapps.com/t/dynamic-header-image-using-rich-text/71785/1 "2024-03-19T02:45:20Z")

</div>

Kindly requesting help in creating a dynamic image header, dynamic in the sense that the image scales according to the screen width (whether glide app or glide pages) with no padding at the edges or top and no gap with the top part of the screen

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [March 19, 2024, 4:19am UTC](https://community.glideapps.com/t/dynamic-header-image-using-rich-text/71785/2 "2024-03-19T04:19:59Z")

</div>

Have you experimented with a container component with an image set as the background?

---

<div class="post-metadata">

**Author:** ![Keith\_Chikumbirike](https://avatars.discourse-cdn.com/v4/letter/k/5daacb/32.png) [@Keith\_Chikumbirike](https://community.glideapps.com/u/Keith_Chikumbirike)\
**Post date:** [March 19, 2024, 7:43pm UTC](https://community.glideapps.com/t/dynamic-header-image-using-rich-text/71785/3 "2024-03-19T19:43:49Z")

</div>

yes, problem is if i switch between laptop view and mobile view, the image changes position. Setting it as a backgound image would work but then determining where the content underneth will be placed becomes difficult and not the same for the 2 different views (laptop and mobile)
