Quantcast
Channel: WordPress.org Forums » All Posts
Viewing all articles
Browse latest Browse all 119528

JLeuze on "[Plugin: Meteor Slides] Slider Title, Excerpt, & Mobile"

$
0
0

You can do it the same as the slideshow caption example, but don't use the paragraph tag, use a class instead, something like this:

<div class="meteor-caption">
<h4><?php the_title(); ?></h4>
<?php the_excerpt(); ?>
</div>

And then style it like this:

.meteor-slides .meteor-caption {
    background: transparent url('images/title-bg.png') repeat top left;
    bottom: 0;
    left: 0;
    color: #000;
    margin: 0;
    padding: 5px;
    position: absolute;
    text-align: center;
    width: 100%;
}

Viewing all articles
Browse latest Browse all 119528

Trending Articles