Please Note: We are no longer using forums to facilitate standard support. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Placing Shortcode within a tag

  1. I am trying to position a contact form absolutely within a text widget however when I wrap the shortcode in a div tag it is effecting the look of the form? This is what I have done (I have little code knowledge)

    <div style="position: absolute; top: 75px;">
    [gravityform id=1 title=false description=false ajax=true]
    </div>

    This is the page that it is on, as you can see it is shrinking the input boxes and removing the space between them: http://www.socialbizzle.com/?page_id=1899

    Anyone know why this is happening?

    Thanks

    Ali

    Posted 3 years ago on Wednesday December 21, 2011 | Permalink
  2. The default stylesheet and javascript are not included when you insert a form like that in a text widget. You have to enqueue the styles and scripts yourself. Please see here:

    http://www.gravityhelp.com/documentation/page/Embedding_A_Form

    Specifically the last section

    Posted 3 years ago on Wednesday December 21, 2011 | Permalink

 

Support Tickets

Open A New Support Ticket
 Open A New Priority Support Ticket *

* Developer license holders only