The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

WordPress: Shadowbox in Header-Nav?

  • # October 28, 2009 at 6:28 am

    Hi there!

    I am using the WP Shadowbox plugin to show pictures, movies and all that stuff. Works fine so far.
    What I now want to do is open my contact.php (which contains my contact form) from within my navigation menu (which is in my header.php) in a Shadowbox. This does not work.
    If I put a rel="shadowbox" to other links within my site (e.g in my blog) everything works fine.
    Shadowbox needs every page to get the header and the footer to work properly. But my header.php doesn’t either load itself nor the footer, right?

    Any help appreciated – thanks!

    Edit: It only doesn`t work with WP-generated pages. External links do.

    # October 28, 2009 at 8:35 am


    The rel has to be like this:


Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed