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.


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>
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy