Tips, Tricks & Best Practices

Jereno
Miembro

CTA Button Alignment Issue

resolver

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 Me gusta
1 Soluciones aceptada
Jnix284
Solución
Miembro del salón de la fama

CTA Button Alignment Issue

resolver

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

 


If my reply answered your question please mark it as a solution to make it easier for others to find.


Jennifer Nixon

Ver la solución en mensaje original publicado

0 Me gusta
3 Respuestas 3
JRose88
Miembro

CTA Button Alignment Issue

resolver

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 Me gusta
Jnix284
Miembro del salón de la fama

CTA Button Alignment Issue

resolver

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


If my reply answered your question please mark it as a solution to make it easier for others to find.


Jennifer Nixon
0 Me gusta
Jnix284
Solución
Miembro del salón de la fama

CTA Button Alignment Issue

resolver

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

 


If my reply answered your question please mark it as a solution to make it easier for others to find.


Jennifer Nixon
0 Me gusta