getgrav / grav-theme-agency

Agency Theme for Grav
https://getgrav.org
MIT License
27 stars 36 forks source link

Navbar location hover color doesn't work (navigation.html.twig, Site.yaml, .md, etc.) #28

Closed kai47110815 closed 5 years ago

kai47110815 commented 5 years ago

Hello, I recently worked on the content files (.md) and since then, the hover effect showing the navbar status with a yellow rectangle is gone. I changed the CSS color, but that wasn't the cause. for the issues now. I didn't touched the CSS after that (also no cache issue). Are there any editing rules, in various files, that I miss? I know, Grav has an issue with TAB stop. Are there any things I'm missing in terms of CSS logic or syntax how the site is designed?

Code part from user/config/site.yaml: # Links to include in footer navigation # For external links add external: true links:
- title: Services url: '/#services' - title: Portfolio url: '/#portfolio' - title: Milestones url: '/#about' - title: Curriculum Vitae url: '/#team' - title: Contact url: '/#contact'

Code part from /pages/01.home/_about/default.md: --- title: Milestones menu: About abouts:

Code part from /pages/01.home/_contact/default.md: `--- title: Contact cache_enable: false

form: name: contact action: /home fields:`

I've attached two screenshots: one from demo site and one from my one:

navbar original

navbar

kai47110815 commented 5 years ago

Solved, it was the conficuration with Slash inside the Site.yaml:

links: - title: Services url: '#services' - title: Portfolio url: '#portfolio' - title: Milestones url: '#about' - title: 'Curriculum Vitae' url: '#team' - title: Contact url: '#contact'