-
AuthorPosts
-
Pankaj Sharma Moderator
Pankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
August 8, 2017 at 9:02 am #1054442Hi on the video player there is padding present that is showing as a blank space bar
Open
/templates/ja_mood/css/themes/red/template.cssFind
.embed-responsive-16by9 { padding-bottom: 56.25%; }
Replace it with
.embed-responsive-16by9 { padding-bottom: 46.25%; }
save and check.
For the article image, the image use the 100% width of the container and resized according to the container size. So if the container size is big, it will use the full width of image.Regards
rwlfr Friendrwlfr
- Join date:
- February 2015
- Posts:
- 44
- Downloads:
- 40
- Uploads:
- 5
- Thanked:
- 2 times in 2 posts
August 8, 2017 at 8:17 pm #1054539thanks for the 46.25% information. It seems to work fine.
I don’t understand the 2nd part of your post, about the container size. What can I change to see the full width ? (in fact it’s more the full height which need to be used).
- This reply was modified 7 years, 3 months ago by rwlfr.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
August 9, 2017 at 2:25 am #1054601This reply has been marked as private.rwlfr Friendrwlfr
- Join date:
- February 2015
- Posts:
- 44
- Downloads:
- 40
- Uploads:
- 5
- Thanked:
- 2 times in 2 posts
August 9, 2017 at 5:24 am #1054625This reply has been marked as private.Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
August 9, 2017 at 7:26 am #1054664Hi
You can change it from the article manager.
Here : http://prntscr.com/g67qiiRegards
rwlfr Friendrwlfr
- Join date:
- February 2015
- Posts:
- 44
- Downloads:
- 40
- Uploads:
- 5
- Thanked:
- 2 times in 2 posts
August 9, 2017 at 5:05 pm #1054791I think you don’t understand the issue.
Let me show you another example :On this link, the top of the head is cut :
https://www.robbiewilliamslive.com/news/videos-blog/990-vloggie-williams-episode-4-1-titre-ineditBut the image used is this one :
https://www.robbiewilliamslive.com/images/stories/videos/17vloggiewilliams4.jpgOn the image used, the top of the head is not cut.
How can I keep the real size of the Full Article image ?
Thanks
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
August 10, 2017 at 1:33 am #1054839Hi
The height is set to auto and it fit the container size with respect to width and height. if you will make remove the style it will show the full image but in that case, the image will be the stretch
Open /templates/ja_mood/css/themes/red/template.css
find and remove this code to check.embed-responsive img.embed-responsive-item { height: auto !important; -webkit-transform: translate(0px,-25%); -ms-transform: translate(0px,-25%); -o-transform: translate(0px,-25%); transform: translate(0px,-25%); }
Regards
rwlfr Friendrwlfr
- Join date:
- February 2015
- Posts:
- 44
- Downloads:
- 40
- Uploads:
- 5
- Thanked:
- 2 times in 2 posts
August 12, 2017 at 12:37 pm #1056002Thanks. I tried this code, but in this case the image is streched, yes.
There is no way to keep the proportions, and without cropping the height ?
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
August 13, 2017 at 12:45 pm #1056071Hi
You can set the height as 100%, its shows the full height, there is no such way because it use the 100% width at this time.Regards
rwlfr Friendrwlfr
- Join date:
- February 2015
- Posts:
- 44
- Downloads:
- 40
- Uploads:
- 5
- Thanked:
- 2 times in 2 posts
August 13, 2017 at 5:47 pm #1056125Ok.
I finally replaced this code :.embed-responsive .embed-responsive-item, .embed-responsive iframe, .embed-responsive embed, .embed-responsive object, .embed-responsive video { border: 0 none; bottom: 0; height: 100%; left: 0; position: absolute; top: 0; width: 100%; } .embed-responsive img.embed-responsive-item { height: auto !important; -webkit-transform: translate(0px, -25%); -ms-transform: translate(0px, -25%); -o-transform: translate(0px, -25%); transform: translate(0px, -25%); } .embed-responsive { display: block; height: 0; overflow: hidden; padding: 0; position: relative; } .embed-responsive-16by9 { padding-bottom: 56.25%; }
by this code :
.embed-responsive .embed-responsive-item, .embed-responsive iframe, .embed-responsive embed, .embed-responsive object, .embed-responsive video { border: 0 none; bottom: 0; height: 100%; width: 100%; left: 0; position: absolute; top: 0; width: 0; } .embed-responsive img.embed-responsive-item { height: 100% !important; width: 100% !important; } .embed-responsive { display: block; height: 0; overflow: hidden; padding: 0; position: relative; } .embed-responsive-16by9 { padding-bottom: 62.50%; }
And it seems working fine.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
August 14, 2017 at 2:09 am #1056155Great setting 100% width looks working fine.
Thanks for sharing 🙂Regards
-
AuthorPosts
This topic contains 11 replies, has 2 voices, and was last updated by Pankaj Sharma 7 years, 3 months ago.
The topic ‘Issues with the Video Mask on Video Item page’ is closed to new replies.