WordPress.org

Ready to get started?Download WordPress

Forums

Slideshow
[resolved] How do I center? (2 posts)

  1. ZipIt
    Member
    Posted 1 year ago #

    How do I center my slideshow on the page?

    I've tried adding
    float: center;

    everywhere and nothing's working.

    http://wordpress.org/extend/plugins/slideshow-jquery-image-gallery/

  2. Stefan Boonstra
    Member
    Plugin Author

    Posted 1 year ago #

    As you can see here, the 'center' value isn't a property of float.

    To center a slideshow, make sure you've given it a fixed width that's smaller than the containing page's width. You can set the width in the slideshow's setting 'Width of the slideshow'.

    After setting the slideshow's width, set the slideshow's style to 'Custom'. A custom style editor will open up, in which you need to do the following:

    .slideshow_container {
            margin: 0 auto; /* Add this line to center the slideshow */
    }

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.