Hello,
Trust me this was f**** toughest one. hours of R & D and finally made it work. here is what i used:
.h5p-interactive-video .h5p-interaction-inner{font-size: 10px !important; font-family: 'Montserrat', sans-serif;}
.h5p-single-choice-set .h5p-sc-question p{
font-family: 'Montserrat', sans-serif;
}
ul.h5p-sc-alternatives li.h5p-sc-alternative {
background: #00BCD4 !important;
border: 1px solid #00000085;
border-radius: 8px;
color: #fff;
}
ul.h5p-sc-alternatives li.h5p-sc-alternative:hover {
background: #dd2523 !important;
animation: myMove 2s 10 ease;
}
@keyframes myMove{
0%{
opacity: 0.8;
transform: translateY(-1px);
}
100%{
opacity: 1;
transform: translateY(0);
}
}
.h5p-single-choice-set .h5p-joubelui-progressbar-background {
background: #dd2523 !important;
}
.h5p-single-choice-set .h5p-joubelui-progressbar {
background: #cbdadc !important;
}
function logan_h5pmods_alter_styles(&$styles, $libraries, $embed_type) {
$styles[]=(object)array(
'path' => plugin_dir_url(
FILE ).'custom-h5p.css',
'version' => '?ver=1.1'
);
}
add_action('h5p_alter_library_styles', 'logan_h5pmods_alter_styles', 10, 3);
refer:
- http://prntscr.com/ojqkqx
- http://prntscr.com/ojqm71
- http://prntscr.com/ojqmn2