# How to adjust custom module width to fit exactly section width?

**URL:** <https://community.hubspot.com/t/how-to-adjust-custom-module-width-to-fit-exactly-section-width/87107>\
**Category:** CMS Development\
**Tags:** design-manager, css\
**Created:** [August 9, 2023, 12:20pm UTC](https://community.hubspot.com/t/how-to-adjust-custom-module-width-to-fit-exactly-section-width/87107 "2023-08-09T12:20:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AzharBondi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/azharbondi/32/89457_2.png) [@AzharBondi](https://community.hubspot.com/u/AzharBondi)\
**Post date:** [August 9, 2023, 12:20pm UTC](https://community.hubspot.com/t/how-to-adjust-custom-module-width-to-fit-exactly-section-width/87107/1 "2023-08-09T12:20:15Z")

</div>

Hi,  
I would love to adjust my **custom module width** to fit exactly the width of the section wrapping it !!

My goal is to be able to see my module animation start from right edge of page to the left edge of page !!  
I tried removing the section’s right and left padding ! That didn’t work !!  
How can I do that please?

Thanks in advance !!  
Azhar

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [August 10, 2023, 10:51pm UTC](https://community.hubspot.com/t/how-to-adjust-custom-module-width-to-fit-exactly-section-width/87107/2 "2023-08-10T22:51:16Z")

</div>

Hey, @AzharBondi 👋 You may need to provide screenshots and a code example in order for the community to understand your issue. Without more context, it’s likely not possible to give an answer with any confidence.

Thank you! — Jaycee
