How to Change Styling of Review Page (Part 1 of 2) [RESOLVED]

Hi Jonathan. The text on the buttons is defined in this code. See example 2 in the docs here:

For changing the header row background color, there really is no filter for that for the review page only (using the {all_fields} merge tag). There is a filter which will change that header (label) background color, designed to be used with the Notifications. That also works for the review page when using {all_fields}. So using the gform_email_background_color_label filter will change the email and the review page label background color:

If you don’t want to change those colors on the review page and in the notification (if your notification uses {all_fields}) you could use the gform_review_page filter to do some string replacement, like this:

<?php
add_filter( 'gform_review_page_33', 'change_review_page_stuff', 10, 3 );
function change_review_page_stuff( $review_page, $form, $entry ) {
	// Enable the review page
    $review_page['is_enabled'] = true;
    if ( $entry ) {
        // Populate the review page.
        $review_page['content'] = GFCommon::replace_variables( '{all_fields}', $form, $entry );
		GFCommon::log_debug( __METHOD__ . '(): Original Review page => ' . print_r( $review_page, true ) );
		// change font family, size and color
		$review_page = str_replace( 'font-family: sans-serif; font-size:12px;', 'font-size:16px; font-family:Georgia, serif; color:blue;', $review_page );
		// change label heading background color
		$review_page = str_replace( '#EAF2FA', '#FAEBD7', $review_page );
		GFCommon::log_debug( __METHOD__ . '(): Modified Review page => ' . print_r( $review_page, true ) );
    }
    return $review_page;
}

That made my review page look like this: Annotation on 2022-02-07 at 12-58-29.png - Droplr (emoji not included)