WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. HCE
    Blocked
    Posted 9 months ago #

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

    http://wordpress.org/plugins/shortcodes-ultimate/

    http://wordpress.org/extend/plugins/shortcodes-ultimate/

  2. Vladimir Anokhin
    Member
    Plugin Author

    Posted 9 months 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;
    }

Reply

You must log in to post.

About this Plugin

About this Topic