Fix navbar sticky background to remain transparent
When the page is scrolled and .header-sticky.active is applied, change background from var(--primary-color) to transparent so the hero background image remains visible.
This commit is contained in:
@@ -669,7 +669,7 @@ header.main-header .header-sticky.active{
|
|||||||
right: 0;
|
right: 0;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
transform: translateY(0);
|
transform: translateY(0);
|
||||||
background: var(--primary-color);
|
background: transparent;
|
||||||
border-bottom: 1px solid var(--divider-color);
|
border-bottom: 1px solid var(--divider-color);
|
||||||
backdrop-filter: blur(30px);
|
backdrop-filter: blur(30px);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user