Skip to content

Instantly share code, notes, and snippets.

@matheuswd
Last active October 21, 2022 12:33
Show Gist options
  • Save matheuswd/918ea3471f42344b4e801c56fbcc5022 to your computer and use it in GitHub Desktop.
Save matheuswd/918ea3471f42344b4e801c56fbcc5022 to your computer and use it in GitHub Desktop.
It changes the font of the multi-step donation form to Roboto.
<?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