Off-canvas Menu Suitable For A Landing Page In The Dentro Template - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Off-canvas Menu Suitable For A Landing Page In The Dentro Template

P

Pio

Template 2 years ago

Hello, I'm using the "Dentro" template on the website www.tuttoperleaziende.com/medigen. I would like the Off-Canvas menu, for mobile devices, to be suitable for a landing page. If I view the site from a mobile device, when I click on a menu item, the off-canvas menu must close https://prnt.sc/nvfSPocCVIkI .

Is it possible?

Thanks Pio

0
5 Answers
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 years ago #134140

Hello Pio

I have used this JavaScipt code in

Template Options -> Custom Code -> Custom JavaScript

jQuery(function($) { 
  $('.offcanvas-inner .menu li').on('click', function() {
    $('body').removeClass('offcanvas-active');
  });
});

It should work now. Please check your site.

Best regards

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 years ago #134163

You are welcome 😊

You do not need Custom CSS for this. Go to Template Options -> Basic -> Logo and increase the height. I have set it to 50.

https://prnt.sc/3MJrIzPSk3my

0
P
Pio
Accepted Answer
2 years ago #134157

Hi Ofi Khan, Ok, it works! Thanks!

Now, i need to enlarge the logo.

What code should be inserted into the CSS?

Thanks Pio

0
P
Pio
Accepted Answer
2 years ago #134166

Perfect!

Thanks Pio

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 years ago #134177

You are welcome 😊

I have a humble request. It would be very kind of you if you can manage some moment to give us feedback on 

  1. Joomla Extension Directory
  2. TrustPilot

This will inspire us to improve.

0