I need to add some custom links on header just like below screenshot:-
But as i trying to add the same on "header.links" it's adding right side(near CONTACT US link).
how can i achieve my expected one?
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityI need to add some custom links on header just like below screenshot:-
But as i trying to add the same on "header.links" it's adding right side(near CONTACT US link).
how can i achieve my expected one?
In default.xml write below code.
<referenceBlock name="header.panel">
<block class="Magento\Framework\View\Element\Html\Link" name="add-new-header-link" after="store_language">
<arguments>
<argument name="label" xsi:type="string" translate="true">New Link</argument>
<argument name="path" xsi:type="string" translate="true">new-link</argument>
</arguments>
</block>
</referenceBlock>
I hope it's usefully for you.