• Resolved vuthyou

    (@vuthyou)


    Great plugin!

    Using Plugin v1.1 with WordPress 3.4.1.

    How do I change the location of the <div> itself? Currently, it comes up as the first thing underneath the <body> tag and I’d like it to be able to move it to render underneath my navigation bar instead.

    If I modify the position using in Header-Slideshow settings, it just sits on top of content.

    Thanks!

    https://www.ads-software.com/extend/plugins/header-slideshow/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Michael Smale

    (@michaelsmale)

    Hi there,

    Thank you for your question. A new version of the plugin may incorporate the ability to move the div to underneath whatever tag you choose, especially since this may depend upon your chosen theme however in the meantime the only way to move the slideshow is to edit the custom.js file in the resources folder of the plugin.

    On line 6 of custom.js change #page to your chosen tag / id as follows:

    Syntax for selecting an ID:
    #tagID e.g. #page

    Syntax for selecting a tag:
    tagName e.g. body

    N.B. if you use a tag where there is more than one you select the appropriate one using syntax as follows:

    tagName[tagIndex] (where tagIndex is a count starting from zero)

    e.g. div[0] – the first div, div[1] – the second div etc.

    Hope this helps.

    Kind regards,
    Michael

    Thread Starter vuthyou

    (@vuthyou)

    Thanks Michael!

    I would love to have the header-slideshow in between my logo and my menu

    https://www.sciwindows.com/wordpress/

    I’ve tried to fix the .js but don’t know what to do, please help! Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Header Slideshow] Change location of’ is closed to new replies.