WordPress.org

Ready to get started?Download WordPress

Forums

Document Gallery
[resolved] Icons not in columns. (4 posts)

  1. Hbjeffery
    Member
    Posted 1 year ago #

    When I use the plugin on my site, the icons automatically align to the left and won't make columns. What am I doing wrong?

    SITE

    Thanks,

    Dylan

    http://wordpress.org/extend/plugins/document-gallery/

  2. Dan Rossiter
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Hbjeffery,

    It looks like you've modified the stylesheet a little bit.

    The lines that read:

    div.document-icon{
      display: center;

    should read:

    div.document-icon{
      display: inline-block;

    If you change that, everything should work.

    I'm going to mark this as resolved, but if your problem persists, feel free to get back with me.

    -Dan

  3. Hbjeffery
    Member
    Posted 1 year ago #

    Awesome that worked. Any way to center them (aka put them in column 2 and 3)?

    Thanks,

    Dylan

  4. Dan Rossiter
    Member
    Plugin Author

    Posted 1 year ago #

    Glad to help!

    If you want the icons to center on your page, you'll need to add the following to your theme stylesheet:

    .document-icon-wrapper{ text-align: center }

    I would suggest not directly editing the plugin stylesheet since any updates released will overwrite your work.

    -Dan

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.