Product Video & Image Size - Prestige Theme

Solved

Product Video & Image Size - Prestige Theme

emilyaugstudios
Pathfinder
122 1 58

Hi everyone (me again sorry!)

 

I'm using the Prestige theme and I have added both video and photos to my products. All the images and videos have been uploaded at the exact same size, width and height but for some reason the videos display ever so slightly longer.

 

Is this something I can fix with CSS?

 

URL - https://927103-16.myshopify.com/ (no password)

 

Thank you!

Screenshot 2024-08-11 at 21.11.18.png

Accepted Solutions (2)

Moeed
Shopify Partner
7354 1993 2432

This is an accepted solution.

Hey @emilyaugstudios 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
.product-gallery__media video-media {
    width: 99.4% !important;
}
</style>

RESULT:

Moeed_0-1723409126370.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


View solution in original post

Made4uo-Ribe
Shopify Partner
10102 2399 3033

This is an accepted solution.

Hi @emilyaugstudios 

Check this one. 

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

 

video-media>:is(video,iframe,img) {
    height: 99.45%;
}

 

And Save.

Result:

Made4uoRibe_0-1723411438583.png

 

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

View solution in original post

Replies 3 (3)

Moeed
Shopify Partner
7354 1993 2432

This is an accepted solution.

Hey @emilyaugstudios 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
.product-gallery__media video-media {
    width: 99.4% !important;
}
</style>

RESULT:

Moeed_0-1723409126370.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


Made4uo-Ribe
Shopify Partner
10102 2399 3033

This is an accepted solution.

Hi @emilyaugstudios 

Check this one. 

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

 

video-media>:is(video,iframe,img) {
    height: 99.45%;
}

 

And Save.

Result:

Made4uoRibe_0-1723411438583.png

 

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
emilyaugstudios
Pathfinder
122 1 58

Thank you for the help! That worked great 😁