Meteor Slides
[resolved] Caption box too long (3 posts)

  1. illumn8r
    Posted 2 years ago #

    Hi, great plugin thanks :-) For some reason the box that surrounds the caption is a bit too long and I'm not sure what to put to make it the same length as my slides. I was able to get it to fit nicely underneath the slides and all slides are the same size 640x480 but the box doesn't match up. Website is http://www.birchmere.com


  2. Josh Leuze
    Plugin Author

    Posted 2 years ago #

    Hi, that's my bad actually, in the caption example I had it setup with 20px of padding and a 100% width. Padding gets added to the width, so you end up with more than 100% of the slideshow width.

    I have updated the example on adding slideshow captions so that the math adds up correctly:

    .meteor-slides p {
        background: rgba(0,0,0,0.2);
        bottom: 0;
        color: #000;
        left: 0;
        line-height: 20px;
        margin: 0;
        padding: 2%;
        position: absolute;
        text-align: center;
        width: 96%;
  3. illumn8r
    Posted 2 years ago #

    Awesome, works perfectly thanks! :-)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic