Topic-icon Modal popup window size

Active Subscriptions:

None
2 years 6 months ago #67569 by leetem1
Hello,
I seem to have an issue with the modal popup.

mxgroup-new.under-development.info/produ...classic-shower-trays

When I click the Login (top right) the modal window is huge! How can I reduce the width and height down so it appears much smaller but still centrally aligned within the browser window?

Thanks
Lee
The topic has been locked.
Support Specialist
2 years 6 months ago #67570 by mel
Replied by mel on topic Modal popup window size
The styles for the modal sizing are coming from your template.

For instance, "body.modal-open .modal" has a width of 80% of the screen in mxgroup-new.under-development.info/templ...ank/css/template.css around line 13907.

You'll need to adjust the width there and the margin-left, so that it aligns in the middle. Here's a suggestion of some CSS to start with, but you may need to tweak it
body.modal-open .modal {
    width: 40% !important;
    margin-left: -20%;
}

-Melissa
The topic has been locked.