Rank: Advanced Member
Groups: HelpDesk, Developers Joined: 11/9/2018(UTC) Posts: 564
Thanks: 122 times Was thanked: 26 time(s) in 25 post(s)
|
Is there a way to adjust the width of the modal popup you use in the admin on the various view-order tabs? Right now I'm working on some popups with the OrderShipments tab so I'm firing the popup like this: Code:
@Ajax.ActionLink("Change Method", "ChangeShipMethod", new { shipmentId = shipment.Id }, new AjaxOptions()
{
InsertionMode = InsertionMode.Replace,
UpdateTargetId = "modal-container",
LoadingElementId = "loader",
OnSuccess = "DisplayDialog('change-method')",
}, new { @class = "btn btn-sm btn-warning btn-outline" })
|
|
|
|
Rank: Advanced Member
Groups: Admin, Developers, Registered, HelpDesk, Authorized User Joined: 10/5/2018(UTC) Posts: 704
Thanks: 5 times Was thanked: 113 time(s) in 112 post(s)
|
1- Go to the HTML file containing the HTML for bootstrap modal popup 2- Search for Code:<div class="modal-dialog">
3- Replace with Code:<div class="modal-dialog modal-lg">
You can also read this section for more details. https://getbootstrap.com...ts/modal/#optional-sizes
|
1 user thanked shaharyar for this useful post.
|
|
|
Rank: Advanced Member
Groups: HelpDesk, Developers Joined: 11/9/2018(UTC) Posts: 564
Thanks: 122 times Was thanked: 26 time(s) in 25 post(s)
|
AHA! That worked perfectly, thank you.
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close