MG 2.2 Hide sideNav


New member
Good day,
is it possible to hide the navigation bar (sideNav) on the main page of the gallery (media) so that the thumbnails are on the whole page...?

Thanks very much!
Add this to your extra.less template:

[data-template="xfmg_media_index"] {
    .p-body-sideNav {
        width: 0;
    .p-body-sideNavInner {
        display: none;
    .p-body-main--withSideNav .p-body-content {
        width: 100%;
How are you going to navigate to any of the categories if they aren't displayed in the sidebar?
You will need to modify the template to have some type of navigation for the categories somewhere, unless you just use one big melting pot for everything.
Top Bottom