Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <style>
- #fvpp-blackout {
- display: none;
- z-index: 499;
- position: fixed;
- width: 100%;
- height: 100%;
- top: 0;
- left: 0;
- background: #f16334; opacity: 0.7;}
- #my-welcome-message {
- display: none;
- z-index: 500;
- position: fixed;
- width: 90%;
- left: 50%;
- top: 20%;
- padding: 20px 2%;
- text-align:center;
- max-width:700px;margin-left: -350px;}
- #fvpp-close {position: absolute; top: 10px; right: 20px;cursor: pointer;}
- #fvpp-dialog h2 {font-size: 2em; margin: 0;}
- #fvpp-dialog p { margin: 0; }
- .logo_area_pop.fix { text-align: center;}
- #my-welcome-message h2 {}
- .pop_textarea h1 {
- padding: 0 0 10px;
- color: #fff;
- font-weight: bold;
- text-transform: uppercase;}
- .pop_textarea h4 {font-weight: bold;color: #fff;text-transform: uppercase;}
- .pop_formarea.fix {}
- .pop_formarea.fix form.es_shortcode_form {}
- .pop_formarea.fix form.es_shortcode_form .es_lablebox {
- display: none;}
- .pop_formarea.fix form.es_shortcode_form .es_textbox {
- float: left;
- width: 48%;
- margin-left: 2%;}
- .pop_formarea.fix form.es_shortcode_form .es_textbox:nth-child(2) {
- margin-right: 2%;
- margin-left: 0;}
- .pop_formarea.fix form.es_shortcode_form
- .es_button {
- float: left;
- width: 100%;
- text-align: center;}
- .pop_formarea.fix form.es_shortcode_form .es_textbox input.es_textbox_class {
- margin: 0;}
- .pop_formarea.fix form.es_shortcode_form .es_button input#es_txt_button_pg {width: 100%; background-color: #f16334;border-color: #fff;color: #fff; border: solid 1px; margin-bottom: 10px;}
- .no_thanks.fix {position: relative;float: left;width: 100%;}
- .no_thanks.fix a#fvpp-close {color: #fff;font-size: 20px;text-decoration: underline;top: 0;left: 0;display: block;
- width: 100%;}
- /* Tablet Layout: 768px. */
- @media only screen and (min-width: 768px) and (max-width: 991px) {
- #my-welcome-message { width: 500px;margin-left: -250px;}
- .pop_textarea h1{ font-size:30px;line-height: 32px;}
- .pop_textarea h4{ font-size: 20px;line-height: 25px;}
- }
- @media only screen and (max-width: 767px) {
- #my-welcome-message { width: 100%; left: 0; top: 5%;margin-left: 0px;}
- .pop_textarea h1{ font-size:25px;line-height: 27px;}
- .pop_textarea h4{ font-size: 17px;line-height: 20px;}
- }
- </style>
- <div id="my-welcome-message">
- <div class="logo_area_pop fix">
- <img src="https://www.dogsora.com/wp-content/uploads/2016/12/logo.png" alt="">
- </div>
- <div class="pop_textarea fix">
- <h1>DOGS HELPING PEOPLE BECOME BETTER OWNERS</h1>
- <h4>Get the Dogsora Dog-Friendly Newsletter</h4>
- </div>
- <div class="pop_formarea fix">
- <?php echo do_shortcode('[email-subscribers namefield="YES" desc="" group="Public"]');?>
- </div>
- <div class="no_thanks fix">
- <a href="" id="fvpp-close" class="no_close">No thanks, I have learned enough about dogs</a>
- </div>
- </div>
- <script src="https://www.dogsora.com/wp-content/themes/admania-child/js/jquery.firstVisitPopup.min.js"></script>
- <script type="text/javascript">
- jQuery(function () {
- jQuery('#my-welcome-message').firstVisitPopup({
- cookieName : 'homepop',
- showAgainSelector: '#show-message'
- });
- });
- </script>
- <script type="text/javascript">
- jQuery(".new_header_suscribe_form form.es_shortcode_form .es_textbox input#es_txt_email_pg").attr("placeholder", "Enter Your Email");
- jQuery(".pop_formarea.fix form.es_shortcode_form .es_textbox input#es_txt_name_pg").attr("placeholder", "Your Name");
- jQuery(".pop_formarea.fix form.es_shortcode_form .es_textbox input#es_txt_email_pg").attr("placeholder", "Email address");
- jQuery(".pop_formarea.fix form.es_shortcode_form .es_button input#es_txt_button_pg").val("KEEP ME IN THE LOOP");
- jQuery(".no_close").click(function(e){
- e.preventDefault();
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment