Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • fr1g0s Friend
    #202915

    Hello!
    Tell me how to add the Scroll bar on mobile sidebar menu?
    Want that works the same as on template “uber” ..
    ie, when opened, the sidebar is scrolled separately from the page ..
    And, the sidebar shows the titles of the modules ..

    chavan Friend
    #555931

    Do you want the super user Menu to be fixed like this attached image, please confirm. if not provide a screenshot


    1. fixed
    fr1g0s Friend
    #555985

    No.. about sidebar on mobile..


    1. 4534534
    fr1g0s Friend
    #556529

    Any ideas?:((

    Adam M Moderator
    #556616

    Hi @fr1g0s,

    1. First, navigate to back-end >>> Extensions >>> Template Manager >>> choose your template >>> switch to tab Custom Code >>> then add this code in field Before </body> :

    <script type="text/javascript">
    var getScreen = jQuery(window);
    jQuery(document).ready(function() {
    if (getScreen.width() < 768) {
    var getSidebar = jQuery('#off-canvas-nav');
    getSidebar.css("display", "block");
    getSidebar.find('.t3-mainnav').height(getScreen.height());
    getSidebar.css("display", "none");
    }
    })
    </script>

    2. Then open file root_folder/templates/ja_magz/css/custom.css and add this code :

    @media (max-width: 767px) {
    .off-canvas #off-canvas-nav {
    position: fixed;
    display: block !important;
    }
    .off-canvas #off-canvas-nav .t3-mainnav {
    overflow: auto;
    top: 0 !important;
    padding-left: 15px;
    }
    .off-canvas-enabled body > * {
    -webkit-transform: translateX(265px);
    -moz-transform: translateX(265px);
    -o-transform: translateX(265px);
    transform: translateX(265px);
    }
    }

    Save your file and recheck.

    fr1g0s Friend
    #556660

    Thank you Adam!:)

    But it does not quite work as they should …:((
    When the menu is scrolled down to the end, it begins to scroll to the main content, and at the bottom of the menu there is free space.

    And if you then close and reopen the menu, the menu will be scrolled in the state, instead of what would come back to the starting position ..


    1. 1
    fr1g0s Friend
    #556698

    + 1

    When I open the menu, turn on the link to any page and do finger slide to go to the previous page, then I go back to the previous page is already open menu .. I hope you understand what I mean..

    Adam M Moderator
    #556744

    Hi @fr1g0s,

    Basically, this is just a quick solution and I don’t guarantee that it will work perfectly as in Uber (because it’s not design to work that way).

    In this case, I’m afraid that you might have to hire a developer to customize the template for you since we can assist you in minor changes only, such complex customization is beyond our support scope. Thanks for your understanding.

    fr1g0s Friend
    #557780

    Can I hire you for this job?

    Adam M Moderator
    #557790

    Hi,

    Unfortunately, we haven’t provided customization service at this time yet. But you can post a project via Joomlancers and hire a developer to do the job for you instead.

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

This topic contains 10 replies, has 3 voices, and was last updated by  Adam M 9 years, 11 months ago.

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