HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Please upgrade here. These earlier versions are no longer being updated and have security issues.

How do I change the width of popup windows?

This discussion is related to the AboutMe addon.
edited October 2011 in Vanilla 2.0 - 2.8
Where can I set the window to be a bit bigger to eliminate vertical and horizontal scrolling for the user?

Thanks,
Ken

Answers

  • 422422 Developer MVP
    This addon uses the class="Popup" Which is controlled I believe within core functions.

    The css for this addon, uses % for widths, so I would imagine size of popup is set by default, from core.. and the div that contains about me information defaults to its parent class, that being Popup.

    within am.default_theme.css line 8

    width: 95%;
    Try setting this to say 600px just to test. You may need to clear cache. I am not sure if this will fix, as it is untested and I dont use this plugin. If it works you may also need to set a height, but can get messy fiddling this way. Personally, most users would expect to scroll vertically, so handling width is perhaps the better option.

    sahotataran
  • 422422 Developer MVP

    Just thinking about this, you could chain the class like.

    Class=Popup Big

    And then define width in .Big class defnitions , untested

Sign In or Register to comment.