-
-
Save pehaa/e4a1f39a763f7abeca47e58f58a99edd to your computer and use it in GitHub Desktop.
Additional css - gallery and fixed navigation with Astra
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.wp-block-gallery img { | |
transition: 1s; | |
} | |
.wp-block-gallery:hover img { | |
transform: scale(.95); | |
filter: grayscale(100%); | |
} | |
.wp-block-gallery img:hover { | |
filter: grayscale(0%); | |
transform: scale(1); | |
} | |
.ast-theme-transparent-header #masthead { | |
position: fixed; | |
background: rgba(0,0,0,0.4); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment