Skip to content

Commit

Permalink
Merge pull request shopware#601 from TheSaltyOne/patch-1
Browse files Browse the repository at this point in the history
Update using-a-modal-window.md
  • Loading branch information
elkmod authored Jun 15, 2022
2 parents 5656c18 + f243826 commit 6632089
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions guides/plugins/plugins/storefront/using-a-modal-window.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ While this is not mandatory, having read the guide about adding custom JavaScrip

{% page-ref page="./add-custom-javascript.md" %}

## Create a modal manually from the DOM using Boostrap
## Create a modal manually from the DOM using Bootstrap

The simples solution to create a modal is by using Boostrap. More info: [Modal Boostrap](https://getbootstrap.com/docs/4.0/components/modal/#live-demo)
The simples solution to create a modal is by using Bootstrap. More info: [Modal Bootstrap](https://getbootstrap.com/docs/4.0/components/modal/#live-demo)
Here is a basic implementation as an example. We override the `base_main_inner` from the `@Storefront/storefront/page/content/index.html.twig` template to insert the modal specific DOM elements.

{% code title="<plugin root>/src/Resources/views/storefront/page/content/index.html.twig" %}
Expand Down

0 comments on commit 6632089

Please sign in to comment.