Questions tagged [bootstrap4]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
53 views

Error require.js

I tried to put jquery, and then it shows the errors below... {MyTheme}/Magento_Theme/layout/default_head_blocks.xml <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/...
1
vote
1answer
61 views

Data-Toggle CMS Page Magento 2

Okay, so I just want a CMS page that has toggled content, but there seems to be some conflict. How would I resolve this code to work for Magento 2 CMS? <div class="container"> <h2>...
1
vote
1answer
180 views

Magento 2 - Use Bootstrap 4 (Uncaught Error: Script error for: bootstrap)

I try to install bootstrap 4. Note: THEME_LOCATION => app\design\frontend\company\base First I downloaded the Compiled CSS and JS from here. I moved the file bootstrap.min.css to THEME_LOCATION\...
1
vote
1answer
613 views

Magento 2 - Add external scripts from CDN

I try to load all required scripts for bootstrap 4 like seen on w3schools.com app\design\frontend\company\base\Magento_Theme\layout\default.xml <?xml version="1.0" encoding="UTF-8"?> <page ...
0
votes
1answer
278 views

Magento 2 - No method named openmodal when bootstrap bundle js is used

I want to display a review form in the modal popup on the click of a button. However, the code gives this error Uncaught TypeError: No method named "openModal" I am using bootstrap.bundle.js in ...