
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2019 02:24 AM
Hello,
Any idea on how to center my modal pop up? When my browser is maximized the pop up is located at the right side
But when I minimize my browser to a certain width, it is completely fine and centered.
Kind Regards,
Raphael
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2019 10:58 PM
Hello,
I think I found the reason why the modal is appearing on the right side. I tried to uncheck the 'left:50%' in modal-dialog and i set the left to 0% and it is now appearing at the center

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2019 10:58 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2019 11:11 PM
Since you've narrowed it down to the style and media-query, you'll notice it's part of the bootstrap.min.css style sheet; which will be difficult to edit if it's truly minified. I would check to see if removing bootstrap.min.css from that Service Portal, to see if this solves your issue.
You can also try editing the minified file, which is possible; just need to format the styles.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2019 11:20 PM
Thank you so much! 🙂

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2019 11:24 PM
I would advise to try overriding the CSS rather than removing the bootstrap file; as removing it might affect the styling of other components.
Try adding the following in the widget CSS / the page CSS:
.modal-dialog {
left:0% !important;
}

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2019 11:40 PM
Thanks for this, I haven't removed yet the bootstrap file so I had the same solution as yours. Is this the better practice as opposed to removing the bs file?