Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
The CSS for the Theater v0.12 demo.
.wpt_listing .wp_theatre_event .theater-012-demo {
position: relative;
margin: 0;
}
.wpt_listing .wp_theatre_event .theater-012-demo .event-info {
bottom: 0;
background-color: rgba(0, 0, 0, 0.2);
color: #fff;
width: 100%;
padding: 10px;
}
.wpt_listing .wp_theatre_event .theater-012-demo .event-info a {
color: inherit;
text-decoration: none;
}
.wpt_listing .wp_theatre_event .theater-012-demo figure {
width: 100%;
padding: 0 !important;
float: none;
}
.wpt_listing .wp_theatre_event .theater-012-demo figure + .event-info {
position: absolute;
}
.wpt_listing .wp_theatre_event .theater-012-demo figure img {
width: 100%;
padding: 0 !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment