diffrent style for post single page
You could listen for the $_SERVER[‘HTTP_REFERER’] and add a class to the body depending on that referer add_filter( ‘body_class’,’wpse_body_classes’ ); function wpse_body_classes( $classes ) { if ( is_page( ‘event’ ) ){ // event is the page slug of the page we wish to add the class for if( wp_get_referer() == ‘/url/of/get_involved’ ){ $classes[] = ‘my-light-bg’; … Read more