Closed Jenderz closed 6 years ago
Yes, it is. By default, mobile navigation doesn't create automatically. You have to do it manually. In general, you need at least 3 custom blocks:
<div id="navbar-menu-toggle" ><a href="#"><i class="material-icons navbar-icon">menu</i></a></div>
Region: Navbar
Id is important. Also add classes like "navbar-item", "hidden-sm" to the block.
<div id="drawer-menu-close"><a href="#"><i class="material-icons drawer-icon">arrow_back</i></a></div>
<div id="drawer-title">Sections</div>
Region: Drawer
Id is important. Also add classes like "drawer-item", "divider-bottom" to the block.
Don't forget to add class "drawer-item" to the block.
Also you could check docs http://mb.4dx.pw/components and examples http://mb.4dx.pw/examples
Thank you very much! I was perfect, but ignorance ignores. I would like to place the Header background, I have tried but I can do it. Could you help me?
It is very easy. Did you tried this http://mb.4dx.pw/components#header-region ? What exactly not work?
This is what I did: I created a new custom block called header1. I added the code:
<div class="block">
<img id="bg-object" src="img/header-bg.jpg">
</div>
then I added it to the region Header background. When I go to start nothing happens.
Also you need to add header-bg-object
class to body tag and put something to header content region.
When you perform the installation and create some test pages, when you try the responsive mode it does not show the mobile navigation bar in Drupal 8.
Help me.