There is a script, a payment module, it is loaded from a remote server, and the styles file is loaded from there. All content is in the iframe. How to stylize this content? Through my (local) style file I can't do it. He simply does not see my styles, although I give them to the necessary classes.

    1 answer 1

    If the iframe is loaded from your site, you can change the styles in it through a script, for example:

    $('iframeSelector').load(function(){ $(this).contents().find('elementSelector').css('styleName','styleValue'); }); 

    If the iframe is from another site, then there’s no way