WordPress.org

Support

Support » Plugins and Hacks » [Plugin: NextGEN Gallery] slideshow as header background image?

[Plugin: NextGEN Gallery] slideshow as header background image?

  • Hello, I just installed the NextGen gallery plugin and am trying to create a rotating header BACKGROUND image using a NextGen slideshow. I have links for my nav bar that need to float on top of the header image. I am using a custom theme based on the WP default. I have tried editing the header.php file as such:

    #header { background: <?php
    if (function_exists(“nggSlideshowWidget”))
    { nggSlideshowWidget(1,780,200); }
    ?> repeat-y top; border: none; }

    and it doesn’t work, but if i place it in a div tag, it works fine. Is it possible to use this slideshow as a background?

Viewing 2 replies - 1 through 2 (of 2 total)
  • foundintheflood

    @foundintheflood

    do you know how to create a header out of NextGEN Gallery, that would help ME at least? 😀

    take the code nggSlideshowWidget(1,780,200); and paste this into your header.php file into the head section, but not in the CSS file like above

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: NextGEN Gallery] slideshow as header background image?’ is closed to new replies.