test
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • calavaro Friend
    #193280

    Hi,

    How do I fix the 2 buttons (menu and cart) in mobile layout to only be visible when visitors to the site scrolls all the way up?

    When they scroll down, in mobile layout, the cart and menu buttons should disappear.

    Is this possible?

    Thank you.

    All the best,

    Calavaro

    Wall Crasher Developer
    #516670

    Hi calavaro,

    This is a small guide. But you may need to BACKUP before proceeding.

    This patch contains some files which help to implement your request

    If you have not customised anything on the following files, just copy and overwrite it.

    <blockquote>- jquery.affixtopmenu.js => js/jquery.affixtopmenu.js
    – script.js => js/script.js
    – custom.css => css/custom.css
    – assets.xml => etc/assets.xml</blockquote>

    If you have customized one of these files, follow steps below:

    1. Copy jquery.affixtopmenu.js => js/jquery.affixtopmenu.js
    2. Open js/script.js and add $(‘.cart_products > .dropdown-toggle, #t3-mainnav .btn-navbar’).affixmenu();
    inside the last $(document).ready(function($){ … }) call. Please open script.js in attach file for more information
    3. Copy all styles in custom.css to your css/custom.css (if you have this file) or just copy it to correct folder as above
    4. Copy assets.xml file to correct folder or add ‘<file>js/jquery.affixtopmenu.js</file>’ to your etc/assets.xml file if you have changed it.

    Hope it helps,


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

This topic contains 2 replies, has 2 voices, and was last updated by  Wall Crasher 11 years ago.

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