skip to Main Content

I’ve been searching for a way to enable the debut theme Hamburger menu on Ipad or tablet. Everything works with mobile, but I want to be able to see the hamburger menu on tablet and Ipad as well. Hope someone can help me. Thank you!

2

Answers


  1. To show the hamburger menu on tablet and Ipad,

    This solution is for old (2019) Debut Version in which @mixin are used

    Find
    $grid-breakpoints:
    in your Assets -> theme.scss file.

    It will look like this:

    $grid-breakpoints: (
      $small '(max-width: #{$grid-medium - 1})',
      $medium '(min-width: #{$grid-medium}) and (max-width: #{$grid-large - 1})',
      $medium-down '(max-width: #{$grid-large - 1})',
      $medium-up '(min-width: #{$grid-medium})',
      $large '(min-width: #{$grid-large}) and (max-width: #{$grid-widescreen - 1})',
      $large-down '(max-width: #{$grid-widescreen - 1})',
      $large-up '(min-width: #{$grid-large})',
      $widescreen '(min-width: #{$grid-widescreen})'
    );
    

    And replace it with the following code:

    $custom-grid-medium: 769px;
    $grid-breakpoints: (
      $small '(max-width: #{$custom-grid-medium - 1})',
      $medium '(min-width: #{$grid-medium}) and (max-width: #{$grid-large - 1})',
      $medium-down '(max-width: #{$grid-large - 1})',
      $medium-up '(min-width: #{$grid-medium})',
      $large '(min-width: #{$grid-large}) and (max-width: #{$grid-widescreen - 1})',
      $large-down '(max-width: #{$grid-widescreen - 1})',
      $large-up '(min-width: #{$grid-large})',
      $widescreen '(min-width: #{$grid-widescreen})'
    );
    

    In this code i replace the first variable "$grid-medium" with new variable called "$custom-grid-medium".

    Note: After implementation you need to adjust some areas of your theme according.

    Login or Signup to reply.
  2. For Debut 2020 Version

    Copy all the code of your Assets -> theme.css.liquid fine and paste it in any Editor (i.e. Sublime)

    Find max-width: 749px and replace all the instance with max-width: 768px

    Also replace:

    min-width: 750px with min-width: 769px

    This will work.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search