Questions tagged [bootstrap4]
The bootstrap4 tag has no usage guidance.
10
questions
0
votes
1
answer
41
views
Does anyone overrides \Magento\Framework\App\Bootstrap::terminate?
I am trying to override the terminate method in \Magento\Framework\App\Bootstrap file which I need to customise the log creation. If anyone overrides this Bootstrap file please provide the solution ...
0
votes
0
answers
62
views
bootstrap.min.js:7 Uncaught Error: Bootstrap tooltips require Tether
I am using Magento 2.4.5 and I'm working on jquery. I load some minified js files including bootstrap 4 alpha 6 and tether.min.js but facing some errors in loading tether.min.js. Please help if anyone ...
0
votes
1
answer
212
views
Magento 2 Uncaught Error: Script error for "popper.js", needed by: jquery.bootstrap
We are using Magento 2.4.5-p1
We add popper.js via a custom module but in the browser console, it is still showing -
GET `http://127.0.0.1/xyz/pub/popper.js net::ERR_ABORTED 404 (Not Found)`
Does ...
0
votes
0
answers
45
views
M2 - How to restrict magento default class is picking bootstrap css in custom theme?
I am using bootstrap for home page cms blocks responsive purpose,
declared in app\design\frontend\zero_theme\theme\Magento_Theme\layout\default_head_blocks.xml
Its affect my PDP image size, ...
1
vote
1
answer
259
views
M2 - Custom Font overwriting by bootstrap css in custom theme
I have laca adobe font,
and my _typography.less
& when (@media-common = true) {
.lib-font-face(
@family-name: @font-family__base,
@font-path: '@{baseDir}fonts/Laca-Regular',
@font-...
2
votes
1
answer
271
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
1
answer
559
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
1
answer
1k
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\...
2
votes
3
answers
6k
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 ...
1
vote
1
answer
2k
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 ...