• Resolved riatech

    (@riatech)


    Dear sirs,

    Can someone guide me on how to remove or hide ‘last name’ field?

    Because in my country, we rarely require last name in payment or application form.

    So i hope can save some space by hide or remove that field. Will look better in mobile browser.

    Thank you very much.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Matt Cromwell

    (@webdevmattcrom)

    Currently the only way to hide that is with CSS, like this:

    #give-last-name-wrap.form-row-last {
    	display: none;
    }
    
    #give-first-name-wrap.form-row-first {
        float: none;
    	width: 100%;
    }

    Add that to the bottom of your theme’s styles.css file; or go to “Appearance > Customize > Custom CSS” and add it to the bottom of that setting. For more detailed info on adding custom CSS, see here: https://givewp.com/documentation/resources/handling-custom-css-in-wordpress/

    Thanks!

    Thread Starter riatech

    (@riatech)

    Hi,

    Thank you very much for this guide. This code provide the exact solution i needed.

    Really appreciate your help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove or Hide Last Name field’ is closed to new replies.