Forums

Meteor Slides
[resolved] slideshow to homepage feature box in Thesis (8 posts)

  1. shoptranslated
    Member
    Posted 1 year ago #

    Thanks for a great slideshow! I have a couple questions I’ve been stuck on the last couple of days:

    1) To add slideshow to the home page only above the content:
    All the slides are the same size 784x420, however the feature box is almost double the size of the slides. Even when I do it without a feature box (just add it to the hook through the php file) it still comes up too big. I thought taking out the paged navigation that shows up on the bottom of the slides would move the area up, but no luck, still too big.

    The code I used in the PHP file is:

    function add_to_feature_box() { ?>
    <div id="meteorslideshow">
    <?php if ( function_exists( 'meteor_slideshow' ) ) { meteor_slideshow(); } ?>
    </div>
    <?php }
    
    add_action('thesis_hook_feature_box','add_to_feature_box');

    2) Based on the code above, I will have multiple slideshows,so I wanted to just show the slideshow “homepage”. Can you send me this code?

    Here's the link to my site, which is a serious work in progress, so please don't judge.

    Thanks!

    http://wordpress.org/extend/plugins/meteor-slides/

  2. shoptranslated
    Member
    Posted 1 year ago #

    hi -
    Just an update, I added this css code:

    /*meteorslides in feature box*/
    .custom #feature_box { background:none; height:30em; width:20em; }

    In addition, I took out the paged navigation (so now it's just the arrows)
    because it was on top of my teasers. It's close, but still not centered,
    too far to the right.

    Any ideas on this and the code so it's only the "homepage" slideshow?
    thanks!

  3. JLeuze
    Member
    Posted 1 year ago #

    Here is the code for the feature_box that contains the slideshow:

    .custom #feature_box {
        background: none repeat scroll 0 0 transparent;
        height: 30em;
        width: 20em;
    }

    If you remove the padding and change the height and width to match the slideshow it will layout correctly:

    .custom #feature_box {
        background: none repeat scroll 0 0 transparent;
        height: 300px;
        padding: 0;
        width: 784px;
    }

    It looks like your slides are 300px high, but the slideshow is set to over 400px, if you fix this the nav arrows will be centered properly.

    To load just the home slideshow, check out the documentation on multiple slideshows.

  4. shoptranslated
    Member
    Posted 1 year ago #

    amazing..you are amazing. it worked. THANK YOU! coffee is already on the way!

  5. JLeuze
    Member
    Posted 1 year ago #

    You're welcome, thanks for the coffee, it is much appreciated!

  6. shoptranslated
    Member
    Posted 5 months ago #

    I've been trying to figure out where my homepage slideshow went in the feature box? I simply went to delete one slide from the show, and now the whole show has disappeared. I'm out of practice since it's been 9 months...but if you can tell me how to put it back up there I'd appreciate it!

  7. shoptranslated
    Member
    Posted 5 months ago #

    Ahh I figured it out...thanks anyway!

  8. JLeuze
    Member
    Posted 5 months ago #

    That's good to hear!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic