VPenkov / okayNav

The world's okayest responsive navigation. This is (sort of) a legacy implementation. Please stay tuned to the 3.0 branch (https://github.com/VPenkov/okayNav/tree/v3.0)
4.02k stars 266 forks source link

Demo not working #41

Closed gsprs closed 8 years ago

gsprs commented 8 years ago

Hi,

I download the zip from GitHub and open in a browser the file dist/index.html and it does not show the header menu correctly. Items are one above the other and thus I cannot even make the demo work.

Can you please fix it ? Thank you

gsprs commented 8 years ago

By the way I saw that the cdn to jquery was not working in the demo so I replaced it with a valid jquery cdn but it is still not working. Tested with several browsers.

DJTB commented 8 years ago

The minified css provided with the demo doesn't actually contain all the necessary styles.

As a temporary fix - you could recompile the less, or reference the unminified css in the head of dist/index.html

    <link rel="stylesheet" href="css/common.min.css">
    <link rel="stylesheet" href="../app/css/okayNav-base.css">
    <link rel="stylesheet" href="../app/css/okayNav-theme.css">
luizbills commented 8 years ago

workings perfect here: https://rawgit.com/VPenkov/okayNav/master/dist/index.html

DJTB commented 8 years ago

@luizbills I submitted a PR and it's now been merged - so this issue is outdated.

@VPenkov do you want close this - fixed by 910c22e