Watermark a gravity form [RESOLVED]

Hi like to put a property claim watermark on a long form. No expert here, is there a simple way that it shows faintly underneath all the form text I made up PNG images and cannot get them to work. Using Gravity forms with-in WordPress Orbital default… The template is Ollie but really not using its set up keeping everything basic. Kept away from using a watermark plug-ins, would that be the simplest way for me to go, I do not have any code experience other than copy/paste. Thanks

Hi Brian! You can do this with a little CSS (no need for a plugin). There may be other ways to do it, but this one worked nicely when I tested it on a long form using the Ollie theme + Orbital form theme.

  1. Save your watermark as a PNG with a transparent background so the form shows through it. A short, wide image might work best!
  2. Upload it to your Media Library and copy the image URL.
  3. Go to Appearance > Editor > Styles > Additional CSS (that’s where it lives in Ollie) and paste this in:
#gform_wrapper_1 {
  background: url('YOUR-IMAGE-URL') center top / 70% auto repeat-y;
}

#gform_wrapper_1 input,
#gform_wrapper_1 textarea,
#gform_wrapper_1 select {
  background-color: transparent !important;
}
  1. Then make two swaps in this code:
    • Replace YOUR-IMAGE-URL with your image URL (keep the quote marks around it).
    • Replace all four 1s with your form’s ID (you’ll find this in the ID column on the Form List page). We’re also doing this so the watermark only shows on that one form.

A couple of tweaks you can make:

  • Make the watermark bigger or smaller: change 70% to a higher or lower number
  • Show just one watermark in the middle: change center top to center, and repeat-y to no-repeat
  • Keep the fields solid white: delete the bottom part of the code (everything after the first }).

Here’s how it looked on my test form:

Hope this helps! :blush:

Hello Dan, I am sure I am doing something incorrect. followed everything except I could not find a Ollie theme form could that be the problem? Thanks for the help.

Oh sorry, that part was confusing! Just to be clear: there’s no Ollie theme form. Ollie is your WordPress theme and Orbital is your Gravity Forms theme. I believe you’re already using both, so you don’t need to change anything there.

Just a few things to double-check:

  1. All four 1s in the code I gave above need to be your form’s ID.
  2. The image URL goes between the quote marks — like this url('https://yoursite.com/wp-content/uploads/watermark.png').
  3. After pasting the code in Appearance > Editor > Styles > Additional CSS, make sure to click Save, then refresh the page with your form.

Hope this helps! :blush:

Thank you for the help I have it up and working in the page form section.

You’re welcome. :blush: Glad it’s working now!