• Resolved bstone81

    (@bstone81)


    I’m needing to move my “hidden” gravity forms product addon form below my add to cart button. The form is filled out dynamically from a third party referrer, and I keep it hidden until the cart page. But even though it is hidden, it is taking up space between my options and the cart button. I would like to push it down below the cart button, and have the cart button just below the options.

    Is there some coding that would do this? I have played around with the Function.php file trying to reposition woocommerce elements, but the Gravity Forms doesn’t seem to be part of that.

    Thanks,

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • There is some php coding you could use, but the pain would be less to deal with the problem using custom css. The form will still be in the page but not take up any page space.

    .single-product .gform_wrapper {
      display: none;
    }

    Custom css can be entered at Appearance > Customise > Additional CSS

    Check for unwanted side-effects on other pages.

    Thread Starter bstone81

    (@bstone81)

    Thank you Lorro. That worked!

    Luminus Alabi

    (@luminus)

    Automattic Happiness Engineer

    @bstone81,

    I’m glad to hear you’ve got this sorted. Thanks, @lorro for the awesome work.

    I’ll go ahead and mark this thread as resolved now.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Moving Gravity Forms Product Addon below Cart button’ is closed to new replies.