Dawn Theme, Homepage, Video section, Height is too large

Solved

Dawn Theme, Homepage, Video section, Height is too large

RuStar
New Member
9 0 0

Hi,

 

How can I make the video on my homepage, Video section appear smaller as currently it appears very large.  On my mobile phone it appears perfect.  I have added a screenshot of the video looking very large on my desktop.  Dawn Theme is used. 

 

Thank you in advance.

 

Screenshot 2023-10-18 at 02.00.28.png

Accepted Solution (1)
suyash1
Shopify Partner
11075 1365 1747

This is an accepted solution.

@RuStar - add this css to the very end of your base.css file and check

 

@media screen and (min-width: 750px){
.video-section{max-width: 50%; margin: 0 auto;}
}
To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com

View solution in original post

Replies 7 (7)

Dan-From-Ryviu
Shopify Partner
12000 2347 2525

Hi @RuStar 

Please share your store URL

- Helpful? Like & Accept solution! - Support me? Buy me a coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

suyash1
Shopify Partner
11075 1365 1747

@RuStar - can you please share this page link?

To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com
RuStar
New Member
9 0 0

ourein.com

Dan-From-Ryviu
Shopify Partner
12000 2347 2525

Hi @RuStar 

Please add this CSS code to Custom CSS of that section to make it appear same as mobile 

.media>img { object-fit: contain !important; }

Screenshot 2023-10-19 at 08.37.23.png

- Helpful? Like & Accept solution! - Support me? Buy me a coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

suyash1
Shopify Partner
11075 1365 1747

This is an accepted solution.

@RuStar - add this css to the very end of your base.css file and check

 

@media screen and (min-width: 750px){
.video-section{max-width: 50%; margin: 0 auto;}
}
To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com
HER
Visitor
1 0 0

Good Morning,

 

I think I've copied and pasted so many scripts that I don't know which section to edit. My video plays fine on my mobile phone but the desktop version is showing way too big in width and height. I have copied the above script to assets/base.css of theme.liquid. Should I also paste it to assets/video-section.css? 

suyash1
Shopify Partner
11075 1365 1747

@HER - no base.css is enough, can you please share your website link?

To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com