Product Video & Image Size - Prestige Theme

Solved

Product Video & Image Size - Prestige Theme

emilyaugstudios
Pathfinder
109 0 47

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
4944 1306 1586

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
- Custom Design | Advanced Coding | Store Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️

View solution in original post

Made4uo-Ribe
Shopify Partner
7683 1850 2266

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 is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

View solution in original post

Replies 3 (3)

Moeed
Shopify Partner
4944 1306 1586

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
- Custom Design | Advanced Coding | Store Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️

Made4uo-Ribe
Shopify Partner
7683 1850 2266

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 is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
emilyaugstudios
Pathfinder
109 0 47

Thank you for the help! That worked great 😁