From dfd0aa6bdcad3bf8bb4fdb8b240cdfeea8d13087 Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Tue, 11 Oct 2016 03:47:18 +0000 Subject: [PATCH] Fix register-now on small screens. --- 2017/assets/css/custom.css | 4 ++++ 2017/includes/common_js.html | 2 +- 2017/includes/header.html | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/2017/assets/css/custom.css b/2017/assets/css/custom.css index faf4bcf0..0f01f188 100644 --- a/2017/assets/css/custom.css +++ b/2017/assets/css/custom.css @@ -331,6 +331,10 @@ hr { } } +.register-block { + z-index: 1000; +} + .btn-register { margin-top: 0.5em; margin-bottom: 0.3em; diff --git a/2017/includes/common_js.html b/2017/includes/common_js.html index ef3804e7..d13c84a2 100755 --- a/2017/includes/common_js.html +++ b/2017/includes/common_js.html @@ -28,7 +28,7 @@ function logoTextStack() { screen_width = $(window).width(); if(screen_width <= 767) { - $('.register-block').insertBefore('#lp-content'); + $('.register-block').prependTo('#lp-content'); $('#lp-signup-block').insertBefore('#lp-content'); }else { $('.register-block').appendTo('.lp-head'); diff --git a/2017/includes/header.html b/2017/includes/header.html index 6574831f..28b461cf 100755 --- a/2017/includes/header.html +++ b/2017/includes/header.html @@ -2,7 +2,7 @@ - + -- 2.25.1