diff --git a/docs/css/_home.scss b/docs/css/_home.scss index b4160794..37682976 100644 --- a/docs/css/_home.scss +++ b/docs/css/_home.scss @@ -77,7 +77,7 @@ html, body { /* JOIN FORM // ------------------------- */ -#join-form, #join-form-2 { +.join-form { background: #242E3A; display: block; width: 400px; @@ -120,7 +120,7 @@ html, body { } @media (min-width: 1200px) { - #join-form { + .jumbotron .join-form { position: absolute; top: 200px; right: 120px; diff --git a/docs/index.haml b/docs/index.haml index a3eeb025..fa7f2208 100644 --- a/docs/index.haml +++ b/docs/index.haml @@ -16,7 +16,7 @@ layout: default .text-center %p We’ve created the fastest, easiest way to search within documentation. %p
 And best of all? It’s FREE. - %form#join-form{action: '#', method: 'POST'} + %form.join-form{action: '#', method: 'POST'} %h3 Get Started. It’s FREE! .spacer20 .input-group @@ -126,7 +126,7 @@ layout: default %p We’ll get back to you within a few hours with everything you need to integrate your new search into your website. %p Oh, and did we mention it's FREE? No commitment. No subscription. Everything is on us! .spacer30 - %form#join-form-2{action: '#', method: 'POST'} + %form.join-form{action: '#', method: 'POST'} .input-group %span.input-group-addon %i.fa.fa-fw.fa-envelope-o diff --git a/docs/js/home.js b/docs/js/home.js index acd83ed3..d6919fcd 100644 --- a/docs/js/home.js +++ b/docs/js/home.js @@ -1,5 +1,5 @@ (function($) { - $('#join-form').on('submit', function() { + $('.join-form').on('submit', function() { var $button = $(this).find('button'); var $email = $(this).find('input[name="email"]'); var $url = $(this).find('input[name="url"]');