Last active
June 26, 2020 14:05
-
-
Save AndrewSepic/aaaff8c07fe346f0eb80d98feb6ed243 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// From page-stream.php - replace your div.col-lg-3 with this | |
// | |
<div class="col-lg-3 text-center"> | |
<p>All Proceeds benefit | |
<img src="<?php echo get_stylesheet_directory_uri(); ?>/img/new/shiftmeals.png" class="donate-logo"> | |
</p> | |
<script src="https://donorbox.org/widget.js" paypalExpress="false"></script><iframe allowpaymentrequest="" frameborder="0" height="100%" name="donorbox" scrolling="no" seamless="seamless" src="https://donorbox.org/embed/shiftmeals_hug-_your_farmer" style="max-width: 500px; min-width: 250px; max-height: none !important" width="100%"></iframe> | |
</div> | |
// | |
// | |
//CSS to go along markup above placed at bottom of style.css | |
.col-lg-3.text-center { | |
color: #d47d00ff; | |
font-family: 'Ultramagnetic', sans-serif; | |
font-size: 1.25rem; | |
margin-bottom: 20px; | |
padding: 20px 0; | |
text-align: center; | |
text-transform: uppercase; | |
width: 100%; | |
} | |
.col-lg-3.text-center p { | |
margin-bottom: 2rem; | |
} | |
.col-lg-3.text-center img { | |
width: 142px; | |
margin-left: 1rem; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment