This topic contains 3 replies, has 2 voices, and was last updated by Sean Sean 3 years ago.

Sidebar toggler doesn't save sidebar state on page refresh


  • hawkish
    Participant

    Posts: 21
    Member Reply #3104

    Hi,

    I installed Metronic on localhost and try to toggle sidebar in layout 1 it hides and on page refresh it stays hidden, which is good but when I installed design on Yii2 framework it is all working fine all the files are loaded like in plain HTML page and source code is the same but on page refresh hidden sidebar opens up .page-sidebar-closed class is removed. Can you tell why this is happening it really frustrating?

    • This topic was modified 3 years ago by  hawkish.

    hawkish
    Participant

    Posts: 21
    Member Reply #3106

    Could you tell how you keep body class after page refresh?


    hawkish
    Participant

    Posts: 21
    Member Reply #3107

    Ok, solved, forgot about jquery.cokie.js

    Sean
    Sean
    Keymaster

    Posts: 4527
    Support Staff Reply #3108

    Glad to hear that 🙂 Good luck with your project!

Tagged: 

You must be logged in to reply to this topic.