- This topic has 3 replies, 2 voices, and was last updated 4 years, 9 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Home › Forums › Free Themes › Travel Insight › Video not displaying on phone correctly
I have added several vimeo videos to apage I’ve rather imaginatively called videos https://www.cardifflifemodel.co.uk/?page_id=143 and the page looks good on my laptop. However, when you look at the same page on a phone the videos are widely spaced and the result is poor
Is this a known issue and is there a way to correct this?
Hello,
As for now, to remove space between videos in mobile view, please add following given CSS in Additional CSS section by going to Admin Panel > Appearance > Customize > Additional CSS
@media screen and (max-width: 768px){
.wp-block-embed iframe{
height: 410px;
}
}
@media screen and (max-width: 668px){
.wp-block-embed iframe{
height: 355px;
}
}
@media screen and (max-width: 568px){
.wp-block-embed iframe{
height: 310px;
}
}
@media screen and (max-width: 468px){
.wp-block-embed iframe{
height: 255px;
}
}
@media screen and (max-width: 368px){
.wp-block-embed iframe{
height: 215px;
}
}
Hope this helps.
Thank you.
That works – thank you
Hello,
Glad that we could help you.
If you have any queries further, let us know.
Thank you.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |