-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CHMA site: Update design on Recurring Donation page #164
Comments
I'm not sure how to get access of the WP but I'd be interested in taking this on! |
@caroqliu That'd be great! I'll follow up on Slack :) |
Took a stab at editing the page following the mock, PTAL and review @saoirse-zee :) A few decisions I made:
Question: Between the mock and the current page, it looks like we lose the option to recurring donate $80. Is that intended? |
Update the "Recurring Donation" page with this design:
The site is in WordPress. The code is not under version control. You just need to open the admin panel and fiddle with it, old-school.
Markup
We have a draft of the new Donation page here. It includes the illustration and some examples of the buttons.
The "buttons" are not buttons at all, but links. Each button should point to the associated PayPal page according to the donation amount. Something like this should work:
Gotchas: The html produced by WP is pretty messy. The layout engine seems to produce lots of extra
div
s andspan
s. I think the hardest part will be figuring out how to get things lined up nicely without running afoul of the WP editor.Styles
To get to the site styles...
Open the admin sidebar and select "Customize":
Select "Additional CSS":
Have at it!
Code style notes
We should probably be careful of scoping our styles to the donation page, or at least to the elements related to the donation page. This could be as simple as choosing unique class names. This code snippet gets us much of the way there on the buttons:
The text was updated successfully, but these errors were encountered: