I have an iframe in my classic sp page referencing some webparts of a modern page. However the modern page is pulling back the feedback box.

I have looked at the modern page and css cant be over ridden. How can this be hidden?

enter image description here

1 Answer 1


Give the iframe element a “id”, for example:

<iframe id="iframeID" src="<path>"></iframe>

Use F12 to check the Feedback element

enter image description here

Then use the following script to hide it:

<script src="https://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
<script type="text/javascript">
        var f=$('#iframeID')

Save the page and refresh, the Feedback will disappear.

  • Sorry just a question does the iframeID have to be the div class? and also what does the path relate to? Commented Oct 31, 2018 at 16:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.