Skip to content

Instantly share code, notes, and snippets.

@farookibrahim
Created July 15, 2020 09:40
Show Gist options
  • Select an option

  • Save farookibrahim/a8e71b42966eaf777cc01784c51adce2 to your computer and use it in GitHub Desktop.

Select an option

Save farookibrahim/a8e71b42966eaf777cc01784c51adce2 to your computer and use it in GitHub Desktop.
Vodi - Cast(Stars) section in Movie v1
if ( ! function_exists( 'vodi_toggle_single_movie_v6_hooks' ) ) {
function vodi_toggle_single_movie_v6_hooks() {
if ( vodi_get_single_movie_style() == 'v1' ) {
add_action( 'masvideos_after_single_movie_summary', 'vodi_template_single_movie_casts', 30 );
}
}
}
add_action( 'masvideos_before_single_movie', 'vodi_toggle_single_movie_v6_hooks', 20 );
.single-movie-casts {
margin-bottom: 31px;
}
.single-movie-casts .movie-casts .slick-list {
margin: 0 -14px;
}
.single-movie-casts .movie-casts .slick-slide {
padding: 0 14px;
}
.single-movie-casts .movie-cast .person-image {
margin-bottom: 10px;
}
.single-movie-casts .movie-cast .person-name {
font-size: 14px;
font-weight: 700;
font-family: "Open Sans", sans-serif;
line-height: 18px;
margin-bottom: 5px;
}
.single-movie-casts .movie-cast .person-role {
font-size: 12px;
color: #808b90;
line-height: 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment