page-donate.php 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?php get_header();?>
  2. <div id="content" class="site-content">
  3. <div class="container">
  4. <div class="row">
  5. <div class="col-lg-3">
  6. <div class="hp-sidenav navbar sticky-md-top pt-sm-3" role="navigation">
  7. <div class="navbars-collapse">
  8. <div class="flex-column list-group-flush">
  9. <li class="<?php if ( is_page() && !$post->post_parent ) echo 'current_nav-item'; ?> nav-item list-group-item py-1 p-0">
  10. <a href="<?php echo get_permalink( $post->post_parent ); ?>" >
  11. <?php echo get_the_title( $post->post_parent ); ?>
  12. </a>
  13. </li>
  14. <?php echo boot23_list_child_pages(); ?>
  15. </div>
  16. </div>
  17. </div>
  18. </div>
  19. <section id="primary" class="content-area col-sm-12 col-md-9">
  20. <div id="main" class="site-main" role="main">
  21. <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
  22. <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  23. <header class="entry-header">
  24. <?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
  25. </header>
  26. <div class="entry-content">
  27. <div id="scoped-content" class="form-group">
  28. <style type="text/css" scoped>
  29. #dgx-donate-container {margin:0;padding:10px;border:1px solid #d7d7d7;box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);}
  30. select.specific-fund { width:400px !important;}
  31. .dgx-donate-form-section { width:100% !important;box-shadow:none !important;border:none !important; }
  32. .dgx-donate-form-section h2 { font-size:23px !important;letter-spacing: 0 !important; font-family: inherit !important; text-transform:none !important;}
  33. .dgx-donate-form-section label {background-color:transparent !important;}
  34. .dgx-donate-form-section input[type="submit"]{background-color:#50A7AD !important;}
  35. .dgx-donate-form-section input[type="submit"]:hover{background-color:#343C70 !important;}
  36. .dgx-donate-form-section input[type="text"]{background-color:transparent !important;border:1px solid #484848 !important;}
  37. .dgx-donate-form-section select {padding:5px !important;}
  38. </style>
  39. <script type="text/javascript">
  40. var d = document.getElementsByClassName("seamless-donations-col-25");
  41. for(var i = 0; i < d.length; i++) {
  42. d[i].classList.add(" form-group");;
  43. }
  44. </script>
  45. </div>
  46. <?php the_content(); ?>
  47. </div>
  48. </article>
  49. <?php endwhile; ?>
  50. </div>
  51. </section>
  52. </div>
  53. </div>
  54. </div>
  55. <?php get_footer();?>