bootstrap 4 collapse

Home Forums Porto – Responsive HTML5 Template bootstrap 4 collapse

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #10025771
    mtruck
    Participant

    Hello,
    I got huge problems trying to understand how to manage the “auto collapse” of navbar with bootstrap4.
    Example :
    http://preview.oklerthemes.com/porto/6.2.0/demo-app-landing.html

    How Can i turn “off” the navbar collapse when i click an element in nav>a in mobile version ?

    Thanks


    #10025775
    Support2
    Keymaster

    Hello,

    For it, please add the code below in (js/custom.js):
    https://pastebin.com/raw/GZpChHnh

    * This will overwrite the default code of Porto that collapse menu when click on menu item.
    * Note the commented code at “Anchor Position” code.

    Please, try that and let me know if you need further assistance.

    Kind Regards,

    Rodrigo.


    #10025780
    mtruck
    Participant
    This reply has been marked as private.
    #10025782
    mtruck
    Participant

    Hi Rodriguo.
    I finally solved the problem. I was using an “old” theme.js …… using 6.1 js solved everything!

    Thx for all the support!


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

This topic is marked as "RESOLVED" and can not rceive new replies.