Timeline for Removing Welcome message from magento 2 - just xml
Current License: CC BY-SA 3.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 24, 2018 at 21:26 | comment | added | kia4567 | I've actually just figured it out (with some of your help and the other person that helped me out). For future, anyone looking to completely MOVE the welcome message somewhere else, check this question/answer out here - magento.stackexchange.com/questions/247546/… | |
Oct 24, 2018 at 21:08 | comment | added | kia4567 | @bassplayer7 I actually opened one up here, do you think you could look at it? magento.stackexchange.com/questions/247546/… | |
Oct 24, 2018 at 13:31 | comment | added | bassplayer7 | @kia4567, I don't think I have enough context to get a sufficient idea of what is not working. I suggest asking a new question with example code, and very specific details of the problem to see if someone can help out. | |
Oct 23, 2018 at 21:20 | comment | added | kia4567 | Thanks for the reply @bassplayer7! I've removed it no problem but it seems I may not understand as well as I'd like to add it in again. I went to add it in my default.xml under the remove code you said to put in like this: <referenceContainer name="header.panel"> <block class="Magento\Theme\Block\Html\Header" name="header.message" as="header" before="-" /> </referenceContainer>. I thought that was how to do it but it must not be. How might I change this up to add that block you were talking about? Thanks! | |
Oct 23, 2018 at 18:57 | comment | added | bassplayer7 | @kia4567, the welcome message is in the header template. My suggestion would be to hide it as described above and then add another block in the desired location with the same block class but different name. | |
Oct 22, 2018 at 22:48 | comment | added | kia4567 | Hi there! @bassplayer7, I'm really happy I came across this as this explanation is the closest I've gotten to my own question. Would you be able to help me out? I've located these files you've talked above above, however I'm really only looking to move JUST the welcome message. I'd like to have it full width above the header. So ideally I'd like to do something like: <move element="welcome.message" destination="header.panel" before="-"/> but alas I do not know the hook for the welcome message. Are you able to provide any help on this? | |
Jun 6, 2017 at 12:54 | comment | added | bassplayer7 | @Omer, I would try <move />: devdocs.magento.com/guides/v2.1/frontend-dev-guide/layouts/… | |
Jun 5, 2017 at 10:05 | comment | added | Omer | What if I want to move it to different place | |
Jan 1, 2017 at 13:38 | comment | added | andy jones | Cool thats great. Makes sense now :) | |
Jan 1, 2017 at 13:38 | vote | accept | andy jones | ||
Dec 31, 2016 at 17:54 | history | answered | bassplayer7 | CC BY-SA 3.0 |