parsiya / Hugo-Octopress

Port of the classic Octopress theme to Hugo
MIT License
155 stars 52 forks source link

The menu.main does not appear on the phone's browser(android chrome firefox) #44

Closed xixitalk closed 6 years ago

xixitalk commented 6 years ago

The menu.main does not appear on the phone's browser(android chrome firefox)

parsiya commented 6 years ago

Yes it does not. Most likely something in my trainwreck of a CSS :D Thanks for letting me know.

parsiya commented 6 years ago

I went back and looked at how Octopress does it. It's with a navigation menu and I implemented the same thing in the CSS.

This branch has the fix: https://github.com/parsiya/Hugo-Octopress/tree/mobile-nav

For now it looks correctly but navigation does not happen after selecting an item. Octopress does it via JavaScript, Hugo-Octopress does not have any JavaScript by default. I need to find a way to do it without JavaScript.

image

parsiya commented 6 years ago

Navigation works now but needs JavaScript. Until I figure out how to do a non-JS version.

xixitalk commented 6 years ago

It works. thanks for the excellent work.

parsiya commented 6 years ago

No worries, again thanks for pointing it out. Will hopefully do a non-JS version someday.