Grow your CSS skills. Land your dream job.

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

    Solved!

    The rel has to be like this:

    rel="shadowbox;player=iframe;"

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

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".