Skip to content

Instantly share code, notes, and snippets.

@pehaa
Last active March 28, 2019 06:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pehaa/e4a1f39a763f7abeca47e58f58a99edd to your computer and use it in GitHub Desktop.
Save pehaa/e4a1f39a763f7abeca47e58f58a99edd to your computer and use it in GitHub Desktop.
Additional css - gallery and fixed navigation with Astra
.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