I had created a lightbox which contains the node title and body content. But it shows the Admin bar of drupal , Header and Footer regions. I want to remove these from the lightbox and showing only the content of node on lightbox.

I am using Lightbox2 module for this.

1 Answer 1


Not answering directly but proposing an alternative solution here:

If possible, switch to Colorbox, extend it with Colorbox Node and use it to easily display your nodes without header and footer like this:

<a class="colorbox-node" href="blogs/my-example?width=600&height=600">My Example</a>

Your Answer

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