To get you started:
1. Copy the index.php file from Cassiopeia into your Child
2. To add bootstrap css: Within the php part add3. To add your custom CSS: Within the php part add4. To add bootstrap js: Within the php part, only add the bootstrap js you need
1. Copy the index.php file from Cassiopeia into your Child
2. To add bootstrap css: Within the php part add
Code:
$wa->useStyle('bootstrap.css');
Code:
$wa->addInlineStyle(' /* Here's where you add your custom inline styles */ /* Though considder using the user.css file */ @font-face { (...) } body { background-color: transparent; } .htmlstyle { (...) } /* Considder cleaning up .htmlstyle { }: you have double properties and some properties are not necessary */ ');
Code:
$wa->useScript('bootstrap.abc');/* Replace abc with the filename (without extension) located in /media/vendor/bootstrap/js *//* i.e. $wa->useScript('bootstrap.alert'); adds the alert.min.js file*/
Statistics: Posted by Mr. Wimpy — Wed Apr 24, 2024 2:35 pm