Iframe Filter css code not working
-
Hi
Have created site with breakdance builder
Have tried this css filter for overwrite style in inframe
but it is not working
see added code
check on front end css not applying
CODE
/**
- The multi-Step form template and the donor dashboard load in an iframe, which prevents theme styles from interfering with their styles.
- To style them, use this PHP snippet to add inline styles. Replace lines 16-26 with your custom styles.
*/
function override_iframe_template_styles_with_inline_styles() {
wp_add_inline_style(
/**
* Below, use ‘give-sequoia-template-css’ to style the Multi-Step form template,
* ‘give-styles’ to style the donor dashboard, and ‘give-classic-template’ to style the Classic template
/ ‘give-sequoia-template-css’, ‘ / add styles here! A sample (turns the headline text blue): / .introduction .headline { color: blue; } / It changes the donor name on the donor dashboard to green: */
.give-donor-dashboard-donor-info__details .give-donor-dashboard-donor-info__name {
color: red;
}
.givewp-donation-form__steps {
box-shadow: 0px 10px 25px 0px var(–bdp-shadow) !important;
}
.givewp-donation-form__steps .givewp-donation-form__steps-button-next {
padding: 30px !important;
}
‘
);
}
add_action(‘wp_print_styles’, ‘override_iframe_template_styles_with_inline_styles’, 10);The page I need help with: [log in to see the link]
The topic ‘Iframe Filter css code not working’ is closed to new replies.