WordPress.org

Ready to get started?Download WordPress

Forums

ML Adverts
[resolved] centering image (4 posts)

  1. bartash
    Member
    Posted 1 year ago #

    Great little addon and perfect for what i need, is there a way to center the image in the sidebar?

    http://plantedtankuk.co.uk/planted-aquascape-journal-roots-to-success-2-week-update/

    you can see the image in the sidebar in this link

    thank you

    Carl

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

  2. Matcha Labs
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Carl,

    Thanks for the review!

    ML Adverts spits out a simple, unstyled html list of adverts by default, the idea being that the plugin remains as lightweight as possible.

    In your case, you can center align the advert(s) in the sidebar by adding the following to your template CSS:

    ul.ml-adverts-sidebar {
        text-align: center;
    }

    We may add this as a plugin setting if there's enough demand for it.

    Regards,
    Tom

  3. bartash
    Member
    Posted 1 year ago #

    that's perfect thank you Tom

    Carl

  4. symonm
    Member
    Posted 4 months ago #

    Hi Tom,

    I attempted to alter my templates styles.css, but your hack didn't work. Any suggestions?? Also will this hack work with footer or will i need a new line of code?

    http://club4hedonists.com/blog

    Thanks

    Symon

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.