Page 1 of 1

Barcelona, using just top bar menu without side menu

Posted: 25 Apr 2019, 12:26
by hasantolak
Hi,

I hope you are well.
Currently I am using Barcelona theme.
All things are fine for a full usage of the theme.
When I use layout for a mobile without side menu, top menu does not work ; top menu items does not expanding.
I think the reason, the side menu do activation or loading necessary JavaScript.

Thanks for your help.

Hasan

Re: Barcelona, using just top bar menu without side menu

Posted: 25 Apr 2019, 16:30
by mert.sincan
I think the reason, the side menu do activation or loading necessary JavaScript.
- You're right ;) You need to create a new js file for your issue, then add js codes related to topbar into the new js file.

But, I recommend hiding the sidebar using CSS. Please try;

Code: Select all

body .layout-wrapper .layout-sidebar {
   display: none !important;
}

body .layout-wrapper .layout-main {
   margin-left: 0;
}
Best Regards,

Re: Barcelona, using just top bar menu without side menu

Posted: 25 Apr 2019, 17:02
by hasantolak
Thanks for your response.

It solved the problem.
Just I add empty <pa:tabMenu />component to side menu.
It is working very well.

Best regards.

Re: Barcelona, using just top bar menu without side menu

Posted: 26 Apr 2019, 08:59
by mert.sincan
Glad to hear, thanks a lot for the update!