I'm not a developer so my answer is based on my joomla use experience.
I suppose (and just a guess) you would have to at least load the Bootstrap 5 through the CDN link (if not already there listed in the <head> section of your template index.php), such as:Similarly, perhaps you also need to load other aspects like JQuery or Font Awesome (if using them).
Suggest you take a look also at Cassioepeia's code (as an example) and see if there are any other scripts that it uses, which may be relevant to the whole of Joomla no matter what template you're using, including JQuery or Font Awesome etc.
I suppose (and just a guess) you would have to at least load the Bootstrap 5 through the CDN link (if not already there listed in the <head> section of your template index.php), such as:
Code:
<!-- Latest compiled and minified CSS --><link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet"><!-- Latest compiled JavaScript --><script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
Suggest you take a look also at Cassioepeia's code (as an example) and see if there are any other scripts that it uses, which may be relevant to the whole of Joomla no matter what template you're using, including JQuery or Font Awesome etc.
Statistics: Posted by AMurray — Tue Apr 23, 2024 12:12 am