• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

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


Well-known member
In the template...

...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?


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:
.xengallery_media_view #media
    margin-bottom: 0;