Skip to main content

Use of Buttons in Posts

Hi Shahjahan Jewel,

Thank you for the great work done. Seems like in case I wanted to use such buttons with the same class in my post, they are not well aligned n mobile. There is an issue with bottom padding. Is there a way of fixing this? (Cc Ross H)Β Β 

Buy FluentCommunity Announcement Post Buy FluentCommunity Announcement Post

Sophia S

In fact same issue here as well. I realized this might be a better way since they adapt well with any color mode. Thank you

Sam Jansen

I use this code for buttons in my posts:

<div style="margin-top:10px;"> <a href="?action=zoom-web&meeting=ptm-prayer" class="el-button fcom_primary_button">Open in Browser</a> <a href="?action=zoom-app&meeting=ptm-prayer" class="el-button fcom_primary_button">Open in Zoom App</a> </div>

It works ok, only on really small breakpoint there is some misalignment aswell I believe

Bill Latka

I tried to add a button using your code and got these mysterious "\" added. Upon inspection, there's no class on them (they're wrapped in p tags). Here's the post:

This is some sample text. \

And here's some more sample text.

Sam Jansen

Bill LatkaΒ You need to paste it as plain text without any spacing in between

Bill Latka

Sam JansenΒ Excellent! Thanks.