Shortcodes Ultimate
[resolved] Adding an Icon or Image to Shortcodes Ultimate Buttons (2 posts)

  1. HCE
    Posted 3 years ago #

    How do I add an icon to the right side of the button, after the text?



  2. Vladimir Anokhin
    Plugin Author

    Posted 3 years ago #

    You can insert icon as plain image tag inside of the button.

    Try to use next code in WordPress post editor:

    [button] Button text <img src="url_to_icon.png" alt="Icon"> [/button]

    Also, you will probably need to insert next portion of CSS code in custom CSS editor at plugin settings page (Settings -> Shortcodes Ultimate -> tab: Custom CSS):

    .su-button img {
       vertical-align: middle;
       max-height: 1.2em;
       max-width: 1.2em;

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Shortcodes Ultimate
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic