meteor slider under the header but over the background (6 posts)

  1. swmagic2
    Posted 4 years ago #

    My Meteor slider works great as a shortcode on a page.

    But I would like to see it between my header and background. I went to my Weaver Pro and I put it in the Advanced Options, <HEAD> section as

    <div class="ttw-center">[meteor_slideshow]</div>
    <!-- Add your own CSS snippets between the style tags. -->
    <style type="text/css">


    I thought that might work but alas, it ignored it.

    Is there a better place?

  2. vtxyzzy
    Posted 4 years ago #

    I don't know if the area where you are adding the code allows php or not. If it does, this may work:

    <div class="ttw-center"><?php do_shortcode('meteor_slideshow'); ?></div>
  3. swmagic2
    Posted 4 years ago #

    Well I tried that and it ignored it. The site is develop.pariscut.com if anyone wants to take a look. The shortcode that does work is in the content area.

  4. vtxyzzy
    Posted 4 years ago #

    Did anything show up at all when you added that code?

  5. vtxyzzy
    Posted 4 years ago #

    Try adding that line of code to the very end of header.php.

    EDIT: Sorry, I omitted the echo and brackets:

    <div class="ttw-center"><?php echo do_shortcode('[meteor_slideshow]'); ?></div>
  6. swmagic999
    Posted 4 years ago #

    OK, I got it without using some fancy div class. In the Weaver I can put in some id's and classes in the Head section and so I simply lifted the content into (behind) the header. Worked great.

    Thanks vbxyzzy!

Topic Closed

This topic has been closed to new replies.

About this Topic