Hi,
How to hide the menu title in the canvas but display it in the main navigation?
Regards,
Hi,
How to hide the menu title in the canvas but display it in the main navigation?
Regards,
Hi aliwari,
You can add the following folder to the templates\ja_seven\html\layouts\t4 folder, I have removed the following code in the offcanvas.php file, line 65.
<?php if ($hasLink): ?>
<a href="<?php echo Uri::base(); ?>" title="<?php echo strip_tags($site_name); ?>">
<?php endif; ?>
<?php if ($logo_small) : ?>
<img class="logo-img-sm d-block d-sm-none" src="<?php echo $logo_small; ?>" alt="<?php echo strip_tags($site_name); ?>" />
<?php endif; ?>
<?php if ($logo) : ?>
<img class="logo-img<?php echo $logo_sm_cls; ?>" src="<?php echo $logo; ?>" alt="<?php echo strip_tags($site_name); ?>" />
<?php else : ?>
<?php echo $offcanvas_title; ?>
<?php endif; ?>
<?php if ($hasLink): ?>
</a>
I don't have offcanvas.php file in "templates\ja_seven\html\layouts\t4"'
Hi aliwari,
Apologies for any confusion. If you're aiming to remove a menu item within the off-canvas, you can achieve this by adding a custom class to the menu item link.
Once you've added the class, you can apply the following CSS code to your site to hide the menu item in the off-canvas. If you need further assistance or clarification, feel free to ask!
div.t4-offcanvas .t4-off-canvas-body li.nav-item a.hidden-this {
display: none;
}
NOTE: Add CSS code to the Backend > site template styles > ja seven - default > Tools > custom CSS:
Give me the admin account for further checking, if you still face this issue.
I apologize for my mistake. Thank you for your understanding.