diff --git a/_config.yml b/_config.yml index 956cbbe7..82f2b952 100755 --- a/_config.yml +++ b/_config.yml @@ -8,4 +8,5 @@ sass: sass_dir: css collections: faqs: - output: true \ No newline at end of file + output: true +show_fundraiser_banner: true diff --git a/_includes/banner-mobile.html b/_includes/banner-mobile.html index aed9f71d..85775223 100644 --- a/_includes/banner-mobile.html +++ b/_includes/banner-mobile.html @@ -1,4 +1,3 @@ -

Our goal is $25k this fall, and every contribution counts! Whether you give $3 or more, your tax-deductible donation will help us continue to provide a unique learning environment where youth can solve authentic tasks and learn by doing. Read more about how we can make a difference together and donate today!

diff --git a/_includes/banner.css b/_includes/banner.css new file mode 100644 index 00000000..0ce6ace2 --- /dev/null +++ b/_includes/banner.css @@ -0,0 +1,27 @@ +#fundraiser-banner { + background-color: #f8f9fa; /* Light gray background */ + color: #333; /* Neutral text color */ + border-bottom: 1px solid #ddd; /* Subtle bottom border */ + font-family: Arial, sans-serif; + padding: 15px; /* Padding around the banner */ + display: flex; + justify-content: space-between; /* Space between text and PayPal button */ + align-items: center; /* Vertical alignment */ + z-index: 1000; /* Ensure it's above other elements */ + position: relative; + } + + #fundraiser-banner p { + margin: 0; + font-size: 16px; + } + + #donate-button-container { + display: inline-block; + } + + #fundraiser-banner .btn { + margin-left: 10px; + font-size: 0.9rem; + } + \ No newline at end of file diff --git a/_includes/banner.html b/_includes/banner.html index f989e5ab..c7362604 100644 --- a/_includes/banner.html +++ b/_includes/banner.html @@ -1,20 +1,26 @@ -
-

Our goal is $25k this fall, and every contribution counts! Whether you give $3 or more, your tax-deductible donation will help us continue to provide a unique learning environment where youth can solve authentic tasks and learn by doing. Read more about how we can make a difference together and donate today!

- -