Forums

Promotion Slider
Centering image in slider (8 posts)

  1. themtpit
    Member
    Posted 10 months ago #

    I have read other posts on centering the image in the slider, but I can't seem to make it work for my site. Any tips or help would be great!

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

  2. Micah Wood
    Member
    Plugin Author

    Posted 10 months ago #

    A link to your site would be most helpful and allow others to give you more specific answers.

  3. themtpit
    Member
    Posted 10 months ago #

    Sorry- here it is: http://mtpit.jimfunk.com/

  4. Micah Wood
    Member
    Plugin Author

    Posted 10 months ago #

    @themtpit,

    Just add this rule to the end of your active theme's style.css file:

    .promo_slider_background_image img {
        margin: 0 auto;
        display: block;
    }
  5. themtpit
    Member
    Posted 10 months ago #

    Hmmm, not seeing any change...

  6. Micah Wood
    Member
    Plugin Author

    Posted 10 months ago #

    Hmm... I added that exact rule in the browser and it fixed the issue ( see here ).

    If per chance you added the rule to the top of the file, try adding it to the very bottom instead.

    If it still doesn't work, it could be that your theme is pulling in the CSS rules a different way. Sometimes themes have a style.css and don't actually use them as the main stylesheet. I couldn't say without knowing what theme you are using where exactly the rule should go.

  7. themtpit
    Member
    Posted 10 months ago #

    Yes, I added at the very bottom of the stylesheet (style.css). The theme I am using is Unsigned 1.2.1 by WooThemes. It's very possible I did something wrong. I am a novice at WordPress.

  8. Micah Wood
    Member
    Plugin Author

    Posted 10 months ago #

    Since that theme is a paid theme, which I don't have access to, I would recommend that you go to the WooThemes Support Forum and ask where you should be adding custom CSS rules for your theme. If you are indeed adding the rule above in the correct location, then perhaps we can take a second look.

    On the other hand, just to be sure that you are adding the rule to the currently active theme, make sure that 'Unsigned' is the name of the theme that appears on your dashboard when you log in and / or is indicated as the currently active theme when you go to the themes page in the admin. Also, if you are editing files in the WordPress theme editor, be sure that the correct theme has been selected from the dropdown before you start editing.

Reply

You must log in to post.

About this Plugin

About this Topic