XF 2.0 Media: Info Overlay in Thumbnail

Calamity

Member
Currently the media only shows the info (name of video, author, etc) if you hover over it. I was wondering what to do to make it permanently overlay over the video in the thumbnails.

Also how would I go about adding the Rating to the information that overlays
 
Currently the media only shows the info (name of video, author, etc) if you hover over it. I was wondering what to do to make it permanently overlay over the video in the thumbnails.

Also how would I go about adding the Rating to the information that overlays

I try to do this to...... do you know already, i can't find anything about this ?

ScrapDog
 
I have found a way ........

in xfmg_item_list.less at line 206 you have to delete the folowing lines:

.itemList-itemOverlay
{
width: 100%;
height: @_overlayHeight;
bottom: -@_overlayHeight;
position: absolute;

background-color: rgba(0, 0, 0, 0.6);
.m-hiddenLinks();
.m-transition();

padding: 4px;
overflow: hidden;

.has-touchevents &,
.itemList-item:hover &
{
bottom: 0;
}

.itemList-item.is-mod-selected &
{
bottom: 0;
background: @xf-inlineModHighlightColor;
}

a:hover
{
text-decoration: none;
}
}
 
Back
Top Bottom