WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: NextGEN Gallery] slideshow as header background image? (3 posts)

  1. mowog
    Member
    Posted 5 years ago #

    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?

  2. foundintheflood
    Member
    Posted 5 years ago #

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

  3. Alex Rabe
    Member
    Posted 5 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.