Pro | Custom Button Class

I’m having a heck of a time assigning a custom class to a button in Pro that will add a little margin to the right.

Any suggestions on the what class to target?

Thanks!

Here’s where I’m at:

On the page I’m working on I can create the class and it works. The class name is “side-button” and I have it declared as:

.side-button.x-anchor{margin-right:1em;}

However, when I migrate that snippet over to the Custom CSS in the “Theme Options” it stops working.

Not sure what’s going on there.

Any ideas?

Thanks!

Hi @comdoc-marketing,

Thank you for writing in, your custom class is actually working


Please clear your browser’s cache if this is not taking effect on your end.

You dont really need to create a custom class because Button element has margin options.


And there are the ready-made Spacing Helpers classes that you can use.

Hope it helps,
Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.