# How can I customize image module?

**URL:** <https://community.hubspot.com/t/how-can-i-customize-image-module/29316>\
**Category:** CMS Development\
**Tags:** html, starter\
**Created:** [December 17, 2020, 1:09pm UTC](https://community.hubspot.com/t/how-can-i-customize-image-module/29316 "2020-12-17T13:09:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dobradovic](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dobradovic/32/14727_2.png) [@dobradovic](https://community.hubspot.com/u/dobradovic)\
**Post date:** [December 17, 2020, 1:09pm UTC](https://community.hubspot.com/t/how-can-i-customize-image-module/29316/1 "2020-12-17T13:09:49Z")

</div>

Hello, how can I customize my image module? I wanna set my header image to be width:100%; and I want to increase height of image when it goes responsive, because in resposnive it is showing with very low height, because of auto adjusting image moduIe. How can I write media query to get height that I want for resposive layout when I cannot add id to that image or div? I know for Rich Text that I can add id in source code then customize it in my css. Every advice would help! Thanks 🙂

---

<div class="post-metadata">

**Author:** ![Kevin-C](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kevin-c/32/34570_2.png) [@Kevin-C](https://community.hubspot.com/u/Kevin-C)\
**Post date:** [December 17, 2020, 3:13pm UTC](https://community.hubspot.com/t/how-can-i-customize-image-module/29316/2 "2020-12-17T15:13:06Z")

</div>

Hey @dobradovic

You can approach this at least 2 ways:

1) Build a [custom module](https://knowledge.hubspot.com/cos-general/create-and-edit-modules) with the functionality you desire.

2) Use [page specific](https://knowledge.hubspot.com/cos-pages-editor/how-can-i-find-the-stylesheet-applied-to-my-page) css to target and modify how the image is rendered.

_“How can I write media query to get height that I want for responsive layout when I cannot add id to that image or div?”_

This shouldn’t be difficult if you understand the page’s Html and CSS [Specificity Hierarchy](https://www.w3schools.com/css/css_specificity.asp).
