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
Koryphäe | Elite Partner
Koryphäe | Elite Partner

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 - Delivery Lead at Aptitude 8

connect with Jen on Linkedin

Lösung in ursprünglichem Beitrag anzeigen

0 Upvotes
1 Antwort
Jnix284
Lösung
Koryphäe | Elite Partner
Koryphäe | Elite Partner

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 - Delivery Lead at Aptitude 8

connect with Jen on Linkedin

0 Upvotes