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
Berühmtheit

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.

 


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


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
Berühmtheit

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?


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


Jennifer Nixon
0 Upvotes
Jnix284
Lösung
Berühmtheit

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.

 


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


Jennifer Nixon
0 Upvotes