Last active
October 21, 2022 12:33
-
-
Save matheuswd/918ea3471f42344b4e801c56fbcc5022 to your computer and use it in GitHub Desktop.
It changes the font of the multi-step donation form to Roboto.
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
<?php | |
function change_font_to_Roboto() { | |
wp_add_inline_style( | |
/** | |
* Below, use give-sequoia-template-css to style the multi-step donation form | |
* or use give-donor-dashboards-app to style the donor dashboard | |
*/ | |
'give-sequoia-template-css', | |
' | |
@import url("https://fonts.googleapis.com/css?family=Roboto"); | |
body, button, input, select, .give-donation-summary-section { | |
font-family: “Roboto”, sans-serif; | |
} | |
' | |
); | |
} | |
add_action('wp_print_styles', 'change_font_to_Roboto', 10); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment