• Aufgepasst:

    HubSpot-Erfahrungen teilen & Amazon-Gutscheine erhalten

    Mehr erfahren

Tips, Tricks & Best Practices

Jereno
Mitglied

CTA Button Alignment Issue

lösung

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.png

0 Upvotes
1 Akzeptierte Lösung
Jnix284
Lösung
HubSpot Employee
HubSpot Employee

CTA Button Alignment Issue

lösung

@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

 

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.

 


replies and solutions prior to May 2025 were as a member of the community and are not an official response as an employee of HubSpot


Jennifer Nixon

Lösung in ursprünglichem Beitrag anzeigen

0 Upvotes
3 Antworten
JRose88
Mitglied

CTA Button Alignment Issue

lösung

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?

0 Upvotes
Jnix284
HubSpot Employee
HubSpot Employee

CTA Button Alignment Issue

lösung

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


replies and solutions prior to May 2025 were as a member of the community and are not an official response as an employee of HubSpot


Jennifer Nixon
0 Upvotes
Jnix284
Lösung
HubSpot Employee
HubSpot Employee

CTA Button Alignment Issue

lösung

@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

 

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.

 


replies and solutions prior to May 2025 were as a member of the community and are not an official response as an employee of HubSpot


Jennifer Nixon
0 Upvotes