FROM CACHE - en_header

Reduce height embed video from youtube

Solved
adr675
Excursionist
29 0 5

Hello,

 

I would like ideally to reduce the height of my video on my landing page by 50% while keeping its full width.


The video has been uploaded via Youtube.

 

Does anyone has been successful to do this job ?

 

Store link : https://targatoys.com/

 

Many thanks in advance

  • he
Accepted Solution (1)

Accepted Solutions
DavidEKim
Shopify Partner
259 80 94

This is an accepted solution.

Hi,

Please add the code below to assets/base.css file.

.section-block-template--15709141008549__1660805960063864b4 {
    padding-bottom: 0 !important;
    background: transparent !important;
}

.section-block-template--15709141008549__1660805960063864b4 div.container-full {
    max-height: 500px !important;
}

 

The top code removes, background color and the bottom code limit the height of the video container. If you have any other questions, please let me know.

Hope it helps.

Thanks.

If helpful, please Like and Accept Solution.
Want to customize your store, please feel free to contact me.
PeopleVillage - Shopify Partner

View solution in original post

Reply 1 (1)
DavidEKim
Shopify Partner
259 80 94

This is an accepted solution.

Hi,

Please add the code below to assets/base.css file.

.section-block-template--15709141008549__1660805960063864b4 {
    padding-bottom: 0 !important;
    background: transparent !important;
}

.section-block-template--15709141008549__1660805960063864b4 div.container-full {
    max-height: 500px !important;
}

 

The top code removes, background color and the bottom code limit the height of the video container. If you have any other questions, please let me know.

Hope it helps.

Thanks.

If helpful, please Like and Accept Solution.
Want to customize your store, please feel free to contact me.
PeopleVillage - Shopify Partner