From 85598eaba743e54862a51c2fda531de31d90d155 Mon Sep 17 00:00:00 2001 From: Mariia <705283@student.inholland.nl> Date: Sun, 7 Apr 2024 16:18:51 +0200 Subject: [PATCH] nax bar fixed --- app/pages/jazz/overview/main.blade.php | 1 + app/pages/main/mainpage_head.blade.php | 9 --------- app/public/css/navBarStyle.css | 13 +++++++++++++ 3 files changed, 14 insertions(+), 9 deletions(-) create mode 100644 app/public/css/navBarStyle.css diff --git a/app/pages/jazz/overview/main.blade.php b/app/pages/jazz/overview/main.blade.php index 76321bb..05869b2 100644 --- a/app/pages/jazz/overview/main.blade.php +++ b/app/pages/jazz/overview/main.blade.php @@ -8,6 +8,7 @@ + diff --git a/app/pages/main/mainpage_head.blade.php b/app/pages/main/mainpage_head.blade.php index 75296a5..a32490f 100644 --- a/app/pages/main/mainpage_head.blade.php +++ b/app/pages/main/mainpage_head.blade.php @@ -6,15 +6,6 @@ - diff --git a/app/public/css/navBarStyle.css b/app/public/css/navBarStyle.css new file mode 100644 index 0000000..a237d36 --- /dev/null +++ b/app/public/css/navBarStyle.css @@ -0,0 +1,13 @@ +@media (min-width: 768px) { + #stickyNav { + position: sticky; + top: 0; + z-index: 50; + } +} + +@media (max-width: 767px) { + #stickyNav { + position: static; + } +}