Dear leslielothamer,
Thanks for your post.
Please be kindly informed that we have found you are using a Video Gallery plugin.
For changing the pixels to the percentage, please, find the following file:
templates/front-end/view/lightbox-gallery/lightbox-gallery-view.css.php
.video-element_<?php echo $gallery_videoID; ?> {
width: 100%;
max-width:<?php echo $gallery_video_get_option[‘gallery_video_ht_view6_width’]; ?>px;
margin:0 0 10px 0;
border:<?php echo $gallery_video_get_option[‘gallery_video_ht_view6_border_width’]; ?>px solid #<?php echo $gallery_video_get_option[‘gallery_video_ht_view6_border_color’]; ?>;
border-radius:<?php echo $gallery_video_get_option[‘gallery_video_ht_view6_border_radius’]; ?>px;
outline:none;
overflow:hidden;
box-sizing: content-box;
}
.video-element_<?php echo $gallery_videoID; ?> .image-block_<?php echo $gallery_videoID; ?> {
position:relative;
width: 100%;
max-width:<?php echo $gallery_video_get_option[‘gallery_video_ht_view6_width’]; ?>px;
}
.video-element_<?php echo $gallery_videoID; ?> .image-block_<?php echo $gallery_videoID; ?> a {display:block;box-shadow: none !important;}
.video-element_<?php echo $gallery_videoID; ?> .image-block_<?php echo $gallery_videoID; ?> img {
width:<?php echo $gallery_video_get_option[‘gallery_video_ht_view6_width’]; ?>px !important;
height:auto;
display:block;
border-radius: 0 !important;
box-shadow: 0 0 0 rgba(0, 0, 0, 0) !important;
}
In this part of the codes, please, find <?php echo $gallery_video_get_option[‘gallery_video_ht_view6_width’]; ?>px
and change the px to %
We will wait for your feedback.
Thanks