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
<?php | |
add_filter( 'bricks/query/result', function ( array $result, object $query_obj ): array { | |
$element_id = 'ejmwod'; // Element ID with query loop | |
$result_count = 1; // How many results to output | |
if ( $query_obj->element_id !== $element_id ) { | |
return $result; | |
} |
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
/* remove aspect ratio from player and set variable for controlling top margin */ | |
%root% { | |
aspect-ratio: unset; | |
--player-controls-top: 6rem; | |
} | |
/* add aspect ratio to the media provider and set margins */ | |
%root% media-provider { | |
position: relative; |
NewerOlder