Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • iaassens Friend
    #195528

    Hi,

    How do you adjust the mainmenu so that the off canvas menu appears instead on the iPad, as it does on smartphones?
    Basically I just need the menu to change into off canvas with a bigger screen layout out than it does now.

    I can not find the media screen class for this to happen.

    Cheers

    Saguaros Moderator
    #525992

    You can open the file: /templates/ja_appolio/less/variables.less, then look at this line of code:


    // Point at which the navbar stops collapsing
    @grid-float-breakpoint: @screen-sm-min;

    If you want the off canvas menu appears on the iPad, you can change it to:


    @grid-float-breakpoint: @screen-md-min;

    then go to backend of your website > click ‘Compile less to css’ button. Remember to BACKUP your site first before compiling less to css as this process will override all current css files in your site.

    iaassens Friend
    #526239

    Thanks Saguaros,

    However, this is not excactly what I was trying to achieve. I have attached a screenshot.

    1. is what I am trying to achieve

    2. is the standard layout, which basically means that you can not have more than two menus in the navbar. I currently have four, so the other two is hidden underneath the searchbar.

    3. is after changing @screen-sm-min to @screen-md-min as you suggested.

    cheers


    1. Untitled-1
    Saguaros Moderator
    #526306

    I will check this again to see what’s going wrong here.

    Saguaros Moderator
    #526493

    You can try opening file: /templates/ja_appolio/css/custom.css (if this file is not existing now, just create it)

    and add this CSS rule:

    @media (max-width: 1023px) and (min-width: 768px){
    .t3-header .off-canvas-toggle {
    float: right;
    margin-right: 15px;
    margin-top: 8px;
    }

    .t3-header .pull-right {
    top: -8px !important;
    }
    }

    iaassens Friend
    #526562

    Hi Saguaros,

    That did align the off-canvas menu to the right and everything looks much better. However, the menu is not clickable in before the layout of the content rearranges as well.

    cheers,

    Saguaros Moderator
    #526715

    Please try to edit the above CSS rule a little bit:


    @media (max-width: 1023px) and (min-width: 768px){
    .t3-header .off-canvas-toggle {
    float: right;
    margin-right: 15px;
    margin-top: 8px;
    }

    .t3-header .pull-right {
    right: 51px;
    }

    .head-right > div {
    padding: 0;
    }
    }

    iaassens Friend
    #527223

    Hi Saguaros,

    I actually wanted it to change the content layout aswell and not just the mainav. Looking like attached.
    The pull-right parallax positions itself above the pull-left content just like on mobile layout.

    Also, there are still some minor glitches with the css, the discover for free button now moves down when scaling the site.

    thanks again though.
    cheers.


    1. Capture
    Saguaros Moderator
    #527251

    If your site is online now, you can post URL here and screenshots explaining how you want to achieve so that I can have a closer look and give you better solution.

Viewing 9 posts - 1 through 9 (of 9 total)

This topic contains 9 replies, has 2 voices, and was last updated by  Saguaros 10 years, 8 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum