• Resolved Bernardo Klock

    (@bernardklock)


    Hello guys!

    I’m trying to use a material icom within the button. I’m using this code but it isn’t working:

    <span class=’material-icons’>keyboard_arrow_right</span>

    It is showing as text together with the next or back button.

    Is there a better way to put an icon inside the button?

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Ninja Team

    (@ninjateam)

    Hi @bernardklock

    Please make sure that you have added material icon library before adding the code.
    Let us know if it helps.
    Cheers!

    Thread Starter Bernardo Klock

    (@bernardklock)

    Yes, it is added to the site by “Material Design for Contact Form 7 Premium” plugin. Added by Oxygen builder SVG stes too.

    Any other easy way to display a icon into the button?
    Thanks again.

    Plugin Author Ninja Team

    (@ninjateam)

    Hi @bernardklock

    You can use this hook to add material library

    add_action( 'wp_enqueue_scripts', 'example_add_material_icon' );
    function example_add_material_icon() {
    		wp_register_style( 'Material_Icon', 'https://fonts.googleapis.com/icon?family=Material+Icons' );
    		wp_enqueue_style( 'Material_Icon' );
    	}
    }

    If it does not work, could you send us that “Material Design for Contact Form 7 Premium” plugin to check please?

    Plugin Author Ninja Team

    (@ninjateam)

    Hi there,

    We have not heard back from you, let me mark this as resolved.
    If you still would like to get support, kindly open a new thread.

    Best regards,
    Kelly

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Button Icon “right”’ is closed to new replies.