page-donate.php 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?php get_header();?>
  2. <div id="content" class="site-content">
  3. <div class="container">
  4. <div class="row">
  5. <div class="col-md-3 ">
  6. <div class="hp-sidenav is_stuck" role="navigation">
  7. <ul class="nav flex-column list-group-flush">
  8. <?php echo hp_list_child_pages(); ?>
  9. </ul>
  10. </div>
  11. </div>
  12. <section id="primary" class="content-area col-sm-12 col-md-9">
  13. <div id="main" class="site-main" role="main">
  14. <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
  15. <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  16. <header class="entry-header">
  17. <?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
  18. </header>
  19. <div class="entry-content">
  20. <div id="scoped-content" class="form-group">
  21. <style type="text/css" scoped>
  22. .dgx-donate-form-section { width:100% !important;box-shadow:none !important;border:none !important; }
  23. .dgx-donate-form-section h2 { font-size:23px !important;letter-spacing: 0 !important; font-family: inherit !important; text-transform:none !important;}
  24. .dgx-donate-form-section label {background-color:transparent !important;}
  25. .dgx-donate-form-section input[type="submit"]{background-color:#4cb3b2 !important;}
  26. .dgx-donate-form-section input[type="text"]{background-color:transparent !important;border:1px solid #484848 !important;}
  27. .dgx-donate-form-section select {padding:5px !important;}
  28. </style>
  29. <script type="text/javascript">
  30. var d = document.getElementsByClassName("seamless-donations-col-25");
  31. for(var i = 0; i < d.length; i++) {
  32. d[i].classList.add(" form-group");;
  33. }
  34. </script>
  35. <?php echo do_shortcode("[seamless-donations]"); ?>
  36. </div>
  37. <?php the_content(); ?>
  38. </div>
  39. </article>
  40. <?php endwhile; ?>
  41. </div>
  42. </section>
  43. </div>
  44. </div>
  45. </div>
  46. <?php get_footer();?>