WordPress.org

Ready to get started?Download WordPress

Forums

ImageMapper
[resolved] Make the popup smaller (4 posts)

  1. Paul2003
    Member
    Posted 1 year ago #

    I like the plugin, but on a phone the popup page is too wide.

    I'm only using the pop up for a list, so don't need more than 200 pixels width. Is there a way I can fix the width of the popup window to 200 pixels (or any abritrary value)?

    Thanks

    http://wordpress.org/extend/plugins/imagemapper/

  2. Spike
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    If you're able to edit your theme's stylesheets, you can limit the popup width to 200px with this:

    .imgmap-dialog {
    max-width: 200px;
    }

    Or if that doesn't work:

    .imgmap-dialog {
    max-width: 200px !important;
    }

    I hope that helps.

    Spike

  3. Paul2003
    Member
    Posted 1 year ago #

    Great - thanks, that worked. I had to use the second option, as the first did nothing.
    Much appreciated.

  4. Spike
    Member
    Plugin Author

    Posted 1 year ago #

    Good to hear that you got it working. The first option would have worked only if the stylesheet was applied after ImageMapper's one, but it doesn't really matter which one you use.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic