Hi Scott,
You should just be able to put the icon code into the submit button like this.
[md-submit]
[submit "<i class='material-icons'>arrow_right</i>"]
[/md-submit]
I haven’t tested that. If it doesn’t work, you may need to do it with JavaScript. Change your submit button to this…
[submit class:submit-btn-arrow "Send"]
Then add this JavaScript to your page. Your theme might have a custom JavaScript input, or you might know how to do it by editing child theme files. If not, use a plugin to add custom JavaScript.
jQuery(document).ready(function() {
setTimeout(function() {
jQuery('.submit-btn-arrow').html('<i class="material-icons">arrow_right</i>');
}, 500)
});
Note I have left positioning, spacing etc up to you. This just gets the arrow into the send button.
Thanks,
Angus
Thank you, that worked… Can you tell me the CSS selectors to target to but the submit button right up against the email field with no space… Can seem to figure that out.
There are quite a bit of CSS targets to customize everything. a back end interface would be cool for that to change colors of each element and see it visually for each form you are working on.:)
Use a negative margin on the button that seemed to work. Not sure if correct way of doing it but seems to be ok.
A list of all the CSS selectors would be helpful for targeting little bit more complex stuff like hover , invalid etc.. states — Switch buttons etc..
Cool plugin all in all though. Thank you…