Forum moderator: bigblog |
uCoz Community For Webmasters Design Customization Default Designs Tutorials Design #1322 (Computers & Communication) |
Design #1322 |
You need to include the embed code in a DIV to make it responsive. Something like this should work: Code <div class="vidc"> YOUTUBE CODE </div> Then you should add this to the CSS of your website: Code .eMessage .vidc {position: relative; height: 0; padding-bottom: 42.25%; padding-top: 30px;} NB: Include this globally (not only in the media query). After you're done with this, you need to add the following code to a media query in your CSS: Code .vidc iframe {position: absolute; top: 0; left: 0; width: 100%; height: 100%;} some txt are also cut from above in mobile version, look at these images https://i.imgsafe.org/5297ba1864.png https://i.imgsafe.org/52977a61fc.png Weird. It doesn't look like that for me. Yes, but we don't recommend that. It could harm your rankings in the search engines. hey i'm joe and i do not work for the company anymore, please contact other staff or tech support
icon by ch-chau sometimes i lurk here |
so is there any solution for that?
|
for text cutting.
|
shivamjoshi363696, add the following line into a media query:
Code .eMessage {line-height: normal !important;} hey i'm joe and i do not work for the company anymore, please contact other staff or tech support
icon by ch-chau sometimes i lurk here |
| |||