0

This question already has an answer here:

How do you add a link to the homepage in the top menu? It must be the first link, after this link must be the links to the categories.

Thanks in advance.

Extra information: my theme is based on the build-in Luma theme, I'm using Magento 2.1.

marked as duplicate by Rakesh Jesadiya, Raphael at Digital Pianism, Keyul Shah, Fabian Schmengler, Amit Bera Sep 12 '16 at 9:58

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • I don't know which 'url' I should use to make it link to the homepage, such that it works on all stores in a multi-store configuration. – Kevin Sep 11 '16 at 12:09
  • Try to find answer here magento.stackexchange.com/questions/84980/… – Siarhey Uchukhlebau Sep 11 '16 at 12:14
  • See linked duplicate. The URL would be $this->storeManager->getStore()->getBaseUrl() with an instance of Magento\Store\Model\StoreManagerInterface in $this->storeManager – Fabian Schmengler Sep 12 '16 at 6:55