Last active
January 14, 2021 02:04
-
-
Save wplit/235f53979f6b0616ae3185f6ed1d107f to your computer and use it in GitHub Desktop.
code-block for custom acf gallery
This file contains hidden or 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
| .oxy-carousel-builder .cell-container{ | |
| display: flex; | |
| margin: 0; | |
| padding: 0; | |
| } | |
| .oxy-carousel-builder .cell { | |
| list-style-type: none; | |
| } | |
| .oxy-carousel-builder .cell-inner { | |
| position: relative; | |
| height: 100%; | |
| width: 100%; | |
| } | |
| .oxy-carousel-builder .cell img { | |
| width: auto; | |
| height: 100%; | |
| } | |
| /* Change the CSS here to style the captions */ | |
| .oxy-carousel-builder .caption { | |
| position: absolute; | |
| bottom: 0; | |
| left: 0; | |
| right: 0; | |
| background: rgba(255,255,255,0.6); | |
| padding: 5px; | |
| text-align: center; | |
| margin: 0; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment