Skip to content

Instantly share code, notes, and snippets.

@Bovelett
Created May 12, 2021 20:27
Show Gist options
  • Select an option

  • Save Bovelett/b81e8ea6319ae38d025c326dd29adb85 to your computer and use it in GitHub Desktop.

Select an option

Save Bovelett/b81e8ea6319ae38d025c326dd29adb85 to your computer and use it in GitHub Desktop.
Elementor Button HTML without role="button"
/*Manual Button CSS if you want to center the button*/
.cta_included {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
}
<!--Paste this into an HTML Widget in Elementor-->
<div class="elementor-button-wrapper cta_included">
<a href="https://your-own-happy.link" class="elementor-button-link elementor-button elementor-size-sm">
<span class="elementor-button-content-wrapper"><span class="elementor-button-text">The Text On Your Button</span>
</span>
</a>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment