Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing main menu to be fixed #152

Merged
merged 2 commits into from
Dec 27, 2024
Merged

Fixing main menu to be fixed #152

merged 2 commits into from
Dec 27, 2024

Conversation

ger619
Copy link
Owner

@ger619 ger619 commented Dec 27, 2024

This pull request includes several updates to the app/views/layouts/_navbar.html.erb file to enhance the navigation bar's design and functionality. The key changes involve modifying the header styling, adjusting the hamburger menu for mobile, and adding a scroll event listener to change the header's position.

Navbar Design and Functionality Enhancements:

  • Updated the header's class and added an ID to improve styling and positioning, including making it fixed on scroll.
  • Adjusted the styling of the hamburger menu button for mobile devices, including increasing the icon size.
  • Added a closing div tag to ensure proper HTML structure.
  • Implemented a scroll event listener to add a fixed-header class when the user scrolls down, making the header fixed at the top.

@ger619 ger619 temporarily deployed to fixed-menu - Muranga Seals PR #152 December 27, 2024 06:05 — with Render Destroyed
@ger619 ger619 merged commit a628f15 into deploy Dec 27, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant