Skip to content

Instantly share code, notes, and snippets.

@wplit
Last active January 14, 2021 02:04
Show Gist options
  • Select an option

  • Save wplit/235f53979f6b0616ae3185f6ed1d107f to your computer and use it in GitHub Desktop.

Select an option

Save wplit/235f53979f6b0616ae3185f6ed1d107f to your computer and use it in GitHub Desktop.
code-block for custom acf gallery
.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