WordPress.org

Forums

Meta Slider
[resolved] Centering (6 posts)

  1. twhennen
    Member
    Posted 2 years ago #

    Anyone have thoughts on how i might center the slider on a page? I think it is justified top left by default? I'm a newbie, but i've messed around with code a little. I would appreciate any and all replies. Thank yoU!

    http://wordpress.org/extend/plugins/ml-slider/

  2. Matcha Labs
    Member
    Plugin Author

    Posted 2 years ago #

    Strange, I added this functionality to the development version today, it will be a slideshow option in version 1.4.

    In the mean time, to center all sliders, add this CSS to your theme:

    .metaslider {
        margin: 0 auto;
    }

    To center a single slider, add this CSS to your theme (replace 123 with the ID of your slider):

    .metaslider-123 {
        margin: 0 auto;
    }

    Please consider leaving a review if you like Meta Slider!

    Regards,
    Tom.

  3. twhennen
    Member
    Posted 2 years ago #

    Terrific! Thanks for the quick response and awesome plugin!

  4. Matcha Labs
    Member
    Plugin Author

    Posted 2 years ago #

    No worries. Look out for the 'center' option in 1.4 - you'll be able to remove that bit of CSS from your templates then.

    Thanks for the review! Much appreciated.

    Tom.

  5. richard219
    Member
    Posted 2 years ago #

    Hi, I need center slider. I tried but i can not do it. Can you help me? Where i put code
    Mi website is http://www.bridesmaracaibo.com

    .metaslider {
        margin: 0 auto;
    }

    can you help step by step. sorry for english i dont speak very well

  6. Matcha Labs
    Member
    Plugin Author

    Posted 2 years ago #

    If you can wait a few days then I will release the next version which will have a setting for this.

    Otherwise, in your WordPress admin, go to:

    Appearance > Editor. Make sure you're working with the style.css file.

    Paste the code at the bottom of style.css.

    Regards,
    Tom

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Meta Slider
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags