Hello! How to add navigation for mobile in Photographer Theme? Thanks!
Actually that was a bug. This change is already in develop branch and waiting to be released. You can see modified file here:
https://github.com/getgrav/grav-theme-photographer/commit/187cad2c9c72ff4cff332296f8b74fc05c644362
Same problem in on-page skeleton demo.
Same solution?
No. On-page skeleton has a different code. If you think it's a bug, you can submit it here: https://github.com/getgrav/grav-skeleton-onepage-site
Karol, at the moment, the menu is displayed but the menu item selection is not transferred to another page. How long can still delay the process fixes a bug with the menu? Thanks! =))
Looks like i simply forgot to include mobile menu script. See fix:
https://github.com/getgrav/grav-theme-photographer/commit/9adbf064cf13eb59d1c153e6e7d1598e652c6c98
Thank you! But mobile menu is displayed only on the main page or where not there is the .md file ( 404 error). What can you advise?
Apply fix above. I double checked photographer with that fix and I assure you it's displaying on all pages correctly.
If it's not displaying for you can you provide link to your website ?
Thanks :) That makes it easier. I forgot to paste link with small change for gallery pages as well:
https://github.com/getgrav/grav-theme-photographer/commit/30c1978e128cdd1bb3e6036c2def7b91fb606069
After that i think you should be good :)
Thanks for the quick response. What is the reason that the template gallery did not use the JS file from base.html.twig?
I had to do that because gallery was using completely different set of java scripts and js files to include..
Log in to reply.
Suggested topics
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 0 | 1327 | 9 years ago | ||
| 2 | 921 | 9 years ago | ||
| 2 | 4050 | 9 years ago | ||
| 1 | 2928 | 9 years ago | ||
| 3 | 1107 | 9 years ago |