cancel
Showing results for 
Search instead for 
Did you mean: 

Account links missing in mobile menu

Account links missing in mobile menu

Hello

 

I am using a custom header, however the account information in the mobile menu is missing.

Is there any suggestions for fixing this?

 

default.xml

<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
      <!--To add custom logo-->
<referenceBlock name="logo">
    <arguments>
        <argument name="logo_file" xsi:type="string">images/logo.png</argument>
        <argument name="logo_img_width" xsi:type="number">300</argument>
        <argument name="logo_img_height" xsi:type="number">78</argument>
    </arguments>
</referenceBlock>

<referenceContainer name="header.container">
    <block class="Magento\Framework\View\Element\Template" name="custom_header" as="custom_header" template="Magento_Theme::html/customheader.phtml"  before="-"/>
<referenceBlock name="top.links">
    <block class="Magento\Theme\Block\Html\Header" name="header" as="header" before="-">
    <!-- This removes welcome message -->
    </block>


    <referenceBlock name="register-link" />           
    <referenceBlock name="authorization-link" />      
    <referenceBlock name="wish-list-link" remove="true" />          
    <referenceBlock name="authorization-link-login"/>


</referenceBlock>
<referenceBlock name="header.panel.wrapper" remove="true" />  
</referenceContainer>
<referenceContainer name="page.bottom.container">
<container name="page.bottom" label="Before Page Footer" htmlTag="div" htmlClass="content"/>
<block class="Magento\Framework\View\Element\Template" as="before.footer" name="before_footer" template="Magento_Theme::html/before_footer.phtml" />
</referenceContainer>
    

<referenceContainer name="footer-container">
    <block class="Magento\Framework\View\Element\Template" as="vendor.footer" 
name="vendor_footer" template="Magento_Theme::html/footer.phtml"> <block class="Magento\Framework\View\Element\Html\Links" name="footer_links"> <arguments> <argument name="css_class" xsi:type="string">footer links</argument> </arguments> </block> <block class="Magento\Cms\Block\Block" name="footer_myaccount"> <arguments> <argument name="css_class" xsi:type="string">footer_myaccount</argument> </arguments> </block> </block> <referenceBlock name="report.bugs" remove="true"/> <referenceBlock name="footer" remove="true"/> <referenceBlock name="show_part" remove="true"/> <referenceBlock name="header.panel" remove="true"/> <referenceBlock name="catalog.compare.sidebar" remove="true"/> <referenceBlock name="catalog.compare.link" remove="true"/> <referenceBlock name="related.product.addto.compare" remove="true"/> <referenceBlock name="view.addto.compare" remove="true"/> <referenceBlock name="upsell.product.addto.compare" remove="true"/> </referenceContainer> <move element="catalog.compare.link" destination="custom_header" /> <move element="minicart" destination="custom_header"/> <move element="top.search" destination="custom_header"/> <move element="some.container" destination="custom_header" /> <move element="logo" as="logo" destination="custom_header"/> <move element="header.links" as="headerLinks" destination="custom_header"/> <move element="copyright" destination="footer-container"/> </body> </page>