Youtube Video goes off screen when you click on it

Solved

Youtube Video goes off screen when you click on it

doogalee
New Member
4 0 0

Hi there. Having some issues with a youtube video glitching on my website. Looks fine until the user clicks on it. The video seems to go to the right on both desktop and mobile and i cant seem to fix it. Could someone help?

Here is the page with the error - https://cooltowel.co.uk/pages/about-us

 

Thank you.

Accepted Solution (1)
Ahmad31
Shopify Partner
197 18 29

This is an accepted solution.

@doogaleefind base.css or if you're unable to find base.css file, simply find theme.liquid file paste the code before </head> tag :

 

 

<style>
.video-section__media.deferred-media.no-js-hidden.gradient.global-media-settings.scroll-trigger.animate--slide-in {
    display: flex;
}
</style>

 

 

Love my work? Buy Me A Coffee
Hire Me: Email me Or Chat on Whatsapp
If you found my solution helpful, please like and accept it. Your support is greatly appreciated!

View solution in original post

Replies 6 (6)

Ahmad31
Shopify Partner
197 18 29

Hi @doogalee , you want like this 

Ahmad31_0-1737999969183.png

Ahmad31_1-1738000036271.png

 

 

Love my work? Buy Me A Coffee
Hire Me: Email me Or Chat on Whatsapp
If you found my solution helpful, please like and accept it. Your support is greatly appreciated!
doogalee
New Member
4 0 0

Yes exactly that!

Ahmad31
Shopify Partner
197 18 29

@doogalee 

  • Click on Online Store > Themes.
  • Find your current theme and clickon  ... Actions > Edit Code.
  • Look for a file named theme.css, style.css
  • Scroll to the bottom of the file and paste the CSS code provided below.
  • Save the changes.

 

 

 

 

<style>
.video-section__media.deferred-media.no-js-hidden.gradient.global-media-settings.scroll-trigger.animate--slide-in {
    display: flex;
}
</style>

 

 

 

 

 

Love my work? Buy Me A Coffee
Hire Me: Email me Or Chat on Whatsapp
If you found my solution helpful, please like and accept it. Your support is greatly appreciated!
doogalee
New Member
4 0 0

Thank you!

 

I can’t seem to find the theme.sss or style.sss?

Ahmad31
Shopify Partner
197 18 29

This is an accepted solution.

@doogaleefind base.css or if you're unable to find base.css file, simply find theme.liquid file paste the code before </head> tag :

 

 

<style>
.video-section__media.deferred-media.no-js-hidden.gradient.global-media-settings.scroll-trigger.animate--slide-in {
    display: flex;
}
</style>

 

 

Love my work? Buy Me A Coffee
Hire Me: Email me Or Chat on Whatsapp
If you found my solution helpful, please like and accept it. Your support is greatly appreciated!
Laza_Binaery
Shopify Partner
335 62 93

Hi @doogalee 

 

You do have base.css but I think it would be appropriate to place code in assets/video-section.css file.

Kind regards
Laza
www.binaery.com