MG 1.1 Orphan <div id="media"> ...?

Freelancer

Well-known member
In the template...
xengallery_media_view

...there is a <div> with no content but id="media". It has a margin-bottom: 5px and shifts the layout down... does it have anything else as purpose or can it be removed?

media-id.jpg
 

Chris D

XenForo developer
Staff member
It's an anchor, so that when you use the arrow buttons/keys to navigate between media, you are anchored to that element so you don't have to scroll. It may just be that the margin is unnecessary in which case just cancel that out in EXTRA.css:
CSS:
.xengallery_media_view #media
{
    margin-bottom: 0;
}
 
Top