For some reason the off canvas wont open when clicked. It holds a menu for the site

Can you tell me why please?

    Hi cspgsl

    It due to your customization for off-canvas in template, you removed the triggerButton ID so nothing happens when you click off-canvas. We fixed for you, kindly check.

    could you please let me know which code I had inserted that broke it?
    thanks

      cspgsl You can check this file: /templates/ja_landscape/html/layouts/t4/element/offcanvas-toggle.php

      all I thought I did was change the title of the toggle to read QuickTools Resources
      what did I add or delete that broke it?

        thanks but I don't see that line in the file

        <?php
        	$paramsTpl = JFactory::getApplication()->getTemplate(true)->params;
        
            $navigation_settings = $paramsTpl->get('navigation-settings');
            if (!filter_var($navigation_settings->get('oc_enabled'), FILTER_VALIDATE_BOOLEAN)) return;
        
        	$show_in_lg = filter_var($navigation_settings->get('oc_showlg'), FILTER_VALIDATE_BOOLEAN);
        
            $breakpoint = $navigation_settings->get('option_breakpoint', 'lg');
            $lgsc = $show_in_lg ? '' : ' d-' . $breakpoint . '-none';
            // add bodyclass
            if ($show_in_lg) {
                \T4\T4::getInstance()->addBodyClass('oc-desktop');
            }
        ?>
        <span class="t4-offcanvas-toggle<?php echo $lgsc ?>"><?php echo JText::_('QuickTools Resources') ?></span>

          cspgsl I do see it on your site now:

          <?php
          	$paramsTpl = JFactory::getApplication()->getTemplate(true)->params;
          
              $navigation_settings = $paramsTpl->get('navigation-settings');
              if (!filter_var($navigation_settings->get('oc_enabled'), FILTER_VALIDATE_BOOLEAN)) return;
          
          	$show_in_lg = filter_var($navigation_settings->get('oc_showlg'), FILTER_VALIDATE_BOOLEAN);
          
              $breakpoint = $navigation_settings->get('option_breakpoint', 'lg');
              $oc_effect = $navigation_settings->get('oc_effect', 'left');
              switch ($oc_effect) {
                  case 'left-reveal':
                  case 'left-push':
                  case 'left':
                      break;
                  default:
                     $oc_effect = "left";
                      break;
              }
              $oc_rightside = $navigation_settings->get('oc_rightside', '');
              if($oc_rightside){
                  $oc_effect = str_replace("left", 'right', $oc_effect);
              }
              $lgsc = $show_in_lg ? '' : ' d-' . $breakpoint . '-none';
          
              // add bodyclass
              if ($show_in_lg) {
                  \T4\T4::getInstance()->addBodyClass('oc-desktop');
              }
          ?>
          
          <?php /* don't remove id="triggerButton" if you override on template */ ?>
          <span id="triggerButton" class="js-offcanvas-trigger t4-offcanvas-toggle<?php echo $lgsc ?>"><?php echo JText::_('QuickTools Resources') ?></span>
          Write a Reply...
          You need to Login to view replies.