protected function initialize() { //add it before the parent initialize, so it appears before the standard hero $this->addHook('before:lower-container', 'superhero'); $this->addHTML('navbar.class', 'transparent superhero'); parent::initialize(); }