->topbar(false) is causing sidebar header to be display: none

What is the reason for this? This is the output code:
<div class="fi-sidebar-header-ctn">
<header class="fi-sidebar-header">
<!--[if BLOCK]><![endif]--><!--[if ENDBLOCK]><![endif]-->

<!--[if ENDBLOCK]><![endif]-->



<div x-show="$store.sidebar.isOpen" class="fi-sidebar-header-logo-ctn" style="display: none;">
<!--[if BLOCK]><![endif]--> <a href="http://localhost:9012/">
<!--[if BLOCK]><![endif]--> <div class="fi-logo">
Company Name
</div>
<!--[if ENDBLOCK]><![endif]-->



<!--[if BLOCK]><![endif]--><!--[if ENDBLOCK]><![endif]-->
</a>
<!--[if ENDBLOCK]><![endif]-->
</div>


</header>
</div>
<div class="fi-sidebar-header-ctn">
<header class="fi-sidebar-header">
<!--[if BLOCK]><![endif]--><!--[if ENDBLOCK]><![endif]-->

<!--[if ENDBLOCK]><![endif]-->



<div x-show="$store.sidebar.isOpen" class="fi-sidebar-header-logo-ctn" style="display: none;">
<!--[if BLOCK]><![endif]--> <a href="http://localhost:9012/">
<!--[if BLOCK]><![endif]--> <div class="fi-logo">
Company Name
</div>
<!--[if ENDBLOCK]><![endif]-->



<!--[if BLOCK]><![endif]--><!--[if ENDBLOCK]><![endif]-->
</a>
<!--[if ENDBLOCK]><![endif]-->
</div>


</header>
</div>
9 Replies
keiron
keironOP2w ago
To be clear - this means the Company Name is not shown. I notice that the div has a class called fi-logo, am I supposed to add a logo to the config to have this content show?
toeknee
toeknee2w ago
If you want a logo you can add ->logo() to the provider. Else it will just show the name..
keiron
keironOP6d ago
It doesn't show the name
toeknee
toeknee6d ago
It won't show the name if the sidebar is closed as the menu button is in use. See how it says x-show: and the end is: isOpen it's set to display none as you've collapsed the nav by the lookgs of it.
keiron
keironOP6d ago
I'm on a desktop view which means the nav defaults to open. Example attached.
No description
keiron
keironOP6d ago
Looks like the only way I can get the company name to show is if I reduce the screen size and open the nav
No description
toeknee
toeknee6d ago
Have you publsihed any views? Else if you can do a bugreport with a repoduction repo we can review
keiron
keironOP6d ago
ok thanks @toeknee , I will try and make time to create a reproduction repo
Vp
Vp5d ago
I think I have this issue when I update as well and it's fixed when I run npm build iirc

Did you find this page helpful?