Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1202698

    Hello, I’m displaying the content of a page inside a modal lightbox by using this tutorial :
    https://kriesi.at/support/topic/open-in-a-lightbox-modal-window/

    I was wondering if there was a way to target elements INSIDE the iframe with css?
    I would like for instance to hide the menu and header, and other elements but only inside the iframe, so the page can still be accessible in full when going to its url by other paths…

    Thanks a lot for your help!

    #1203020

    Hey maxgorelkine,
    Sorry due to CORs you can’t target the css inside of an iframe, the browser will not override the source css.

    Best regards,
    Mike

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.