I Have tried a few method to adjust the CSS of an iframe after the iframe is loaded but havent been able to succeed, this is what ive come with so far, but to no avail, apologies as my coding is limited, and help would be much appreciated!!
So basically im just trying to adjust some styling in the iframe. The styling is pretty basic, but i have a feeling my code isnt properly implemented.
<script type="text/javascript">
jQuery(function ($) {
$('#fence-calc').load(function() {
var css = '<style type="text/css">
.bottom-border {
border-top: 1px solid #113A60;
background: #113A60;
};
.step-info .bubble.selected {
background: #113A60;
};
.input-wrapper .validation-message {
background: #113A60;
};
.input-wrapper.invalid-input input {
border-color: #113A60; border-radius: 10px 10px 0px 0px;
};
.view-container .btm-actions .go-home {
color: #113A60;
};
</style>';
$('#frame1').contents().find("head").append(css);
});
</script>