Button, presets and shortcodes

Hello,

XPRo user, current version.

Is there a way to take a button I’ve created and turn it into a shortcode now that the legacy shortcode generator doesn’t work with v2 elements?

I’m trying to put a button I created inside of an “Alert” element.

Thanks

Hi There,

That’s not possible. But you can a HTML button code to your alert content. Something like this:

This is where the content for your alert goes. Best to keep it short and sweet! <a class="x-btn my-btn">Button</a>

Then you can add the custom CSS for your button:

.my-btn {
     color: #f0f0f0;
     background: #f00;
}

Hope it helps :slight_smile:

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