# Making CTA Image Size Responsive

**URL:** <https://community.hubspot.com/t/making-cta-image-size-responsive/22197>\
**Category:** Lead Capture Tools\
**Tags:** ctas\
**Created:** [June 27, 2020, 3:27pm UTC](https://community.hubspot.com/t/making-cta-image-size-responsive/22197 "2020-06-27T15:27:30Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![stefen](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/stefen/32/29274_2.png) [@stefen](https://community.hubspot.com/u/stefen)\
**Post date:** [June 29, 2020, 1:44pm UTC](https://community.hubspot.com/t/making-cta-image-size-responsive/22197/4 "2020-06-29T13:44:26Z")

</div>

@nigeld27 you’ll want to add those styles to your website where the CTA is being embedded. Also, if you don’t want to affect any other images on your website you could pinpoint the “hs-cta-img” class like so:

```auto
.hs-cta-img {
 max-width: 100%;
 height: auto;
}

```

---

_[View the full topic](https://community.hubspot.com/t/making-cta-image-size-responsive/22197)._
