# CTA Button Alignment Issue

**URL:** <https://community.hubspot.com/t/cta-button-alignment-issue/104490>\
**Category:** Tips, Tricks & Best Practices\
**Tags:** ctas, developer, how-to\
**Created:** [April 10, 2024, 1:31pm UTC](https://community.hubspot.com/t/cta-button-alignment-issue/104490 "2024-04-10T13:31:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jereno](https://avatars.discourse-cdn.com/v4/letter/j/f14d63/32.png) [@Jereno](https://community.hubspot.com/u/Jereno)\
**Post date:** [April 10, 2024, 1:31pm UTC](https://community.hubspot.com/t/cta-button-alignment-issue/104490/1 "2024-04-10T13:31:49Z")

</div>

Hi HubSpot Community,

I’m encountering an issue with the alignment of my Call-to-Action (CTA) button within a section on my website. Despite my efforts, I can’t seem to get the button to center properly within the section.

I’ve tried adjusting the CSS and tinkering with the HTML, but I’m still unable to achieve the desired result. It’s important for the button to be perfectly centered both horizontally and vertically within the section for aesthetic and usability purposes.

Could someone please offer some guidance or suggestions on how to resolve this alignment issue? Any insights or advice would be greatly appreciated!

Thank you in advance for your help!

Best regards,

Jereno

 ![Screenshot 2024-04-10 at 15.31.09.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/8/9/89f9e8527a27d707d2b199d9649387e6f701b7a4.jpeg)

---

<div class="post-metadata">

**Author:** ![jnix284](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jnix284/32/29_2.png) [@jnix284](https://community.hubspot.com/u/jnix284)\
**Post date:** [April 10, 2024, 3:41pm UTC](https://community.hubspot.com/t/cta-button-alignment-issue/104490/2 "2024-04-10T15:41:44Z")

</div>

@Jereno is this a theme you’re developing or an existing theme/marketplace theme?

Have you already checked the styles tab:

 ![Jnix284_0-1712763645108.png](https://d2qpr2jzcazej7.cloudfront.net/original/1X/1380feadd9051508541bfa3fa57150ca0ec8cd28.png)

You can set the center alignment here and also adjust the spacing.

Not all themes use the Styles tab, some have “style” sections under the Content tab.

---

<div class="post-metadata">

**Author:** ![JRose88](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jrose88/32/57633_2.png) [@JRose88](https://community.hubspot.com/u/JRose88)\
**Post date:** [October 17, 2024, 9:27pm UTC](https://community.hubspot.com/t/cta-button-alignment-issue/104490/3 "2024-10-17T21:27:05Z")

</div>

I have the same issue but don’t see the alignment group. My selections end with Hover. How do I get alignment to appear as an option?

---

<div class="post-metadata">

**Author:** ![jnix284](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jnix284/32/29_2.png) [@jnix284](https://community.hubspot.com/u/jnix284)\
**Post date:** [October 25, 2024, 3:39pm UTC](https://community.hubspot.com/t/cta-button-alignment-issue/104490/4 "2024-10-25T15:39:39Z")

</div>

@JRose88 the options available are dependent on the theme you’re using, are you using a custom theme or a theme from the marketplace?
