Comments (4)
Hi!
Seems you use an older Parent and/or Child theme combination.
Your website says:
Error: Bootstrap tooltips require Tether (http://github.hubspot.com/tether/)
Later versions of Bootstrap 4 Alpha use this script to reveal or hide something (including the mobile nav).
Please make sure you update your parent theme to 0.5.0.
Than make sure you use the latest package.json file from child theme, available here:
https://github.com/holger1411/understrap-child/blob/master/package.json
Download it into your child theme directory (and overwrite the old one) and than run:
npm install
followed by:
gulp copy-assets
and than recompile your child themes JS file with
gulp scripts
from understrap-child.
It looks like Tether is INSIDE the ./node_modules/bootstrap/node_modules/ folder and gulpfile.js is looking for it in ./node_modules/ in the copy-assets task...
To fix this, you can run npm install tether --save
and then gulp copy-assets
and gulp scripts
as suggested above... should fix it.
Tether is not in the dependencies listed in package.json that you pointed to above... it IS a dependency of Bootstrap, but then you should reference it at ./node_modules/bootstrap/node_modules/tether/
from understrap-child.
if you run "npm install" it will install all dependencies, including the Bootstrap 4 dependencies like Tether.
So normally there should be an /node_modules/theter folder which than could be moved by "gulp copy-assets" to the source folder
from understrap-child.
Hmm... you are right. I just did a fresh clone and npm install
and tether is there in node_modules... I wonder what happened the first time.
Thanks!
from understrap-child.
Related Issues (20)
- Upgrade guidance from 1.0.1 to 1.1 HOT 1
- I know this is my own ignorance, but I can not get a Bootstrap 5 sticky footer to work with the lastest Understrap-Child HOT 8
- Problem with npm run watch-bs HOT 1
- can't add functions in custom-javascript.js HOT 10
- theme cache HOT 2
- Uncaught ReferenceError: bootstrap is not defined HOT 1
- Understrap Import appears to do nothing HOT 1
- Where to put theme images for CSS background images? HOT 3
- Add single files or all .css files in copy assets HOT 2
- Off-Canvas menu behaviour is broken HOT 2
- Issues with npm run watch in the understrap-child HOT 2
- Changes to 'custom-editor-style.css' not reflected in 'custom-editor-style.min.css'? HOT 2
- Remove Customizations HOT 6
- Scss not transpiling & Recent Post filter not working for Custom Post Types
- console.log("Something"); from custom-javascript.js outputs nothing? HOT 1
- Make understrap child the default theme HOT 2
- Custom query members category - understrap_pagination not working HOT 4
- navbar-branding.php strips out my HTML somehow HOT 3
- wordpress not reading css from child theme. HOT 5
- Removing language menu from header results in visual glitch HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from understrap-child.