Skip to main content

Questions tagged [default.xml]

Filter by
Sorted by
Tagged with
5 votes
5 answers
5k views

Reorder Top Links

I have been stuck on this task all day. I am hoping someone has some insight or is this a bug? I have tried a few different approaches and nothing seems to actually work. This is how it currently ...
RLTcode's user avatar
  • 863
2 votes
1 answer
3k views

Re-position just the welcome message

I've been looking and looking and I can't seem to find the be all end ll to move this welcome message snippet. I've looked around and found this question and answer to be helpful but not exactly ...
kia4567's user avatar
  • 217
7 votes
3 answers
5k views

Use of ifconfig tag in layout xml?

What is the use of ifconfig tag inside the block tag in a layout xml file? What purpose does it serve?
YDF's user avatar
  • 193
1 vote
1 answer
617 views

<referenceBlock name="header.container" remove="true" /> removes minicart functionality

I've added <referenceBlock name="header.container" remove="true" /> to my themes default.xml and instead has been replaced with: <referenceContainer name="page....
BugHunterUK's user avatar
0 votes
2 answers
430 views

store logo in not loading

I am overwriting my theme logo in my child theme with the default.xml file but the logo is not loading in the storefront. This is my default.xml code: <referenceBlock name="logo"> <...
mobz's user avatar
  • 117
0 votes
1 answer
888 views

Magento 2 Add custom class before "main.content" excluding Home Page

I am looking for a solution to add a custom class before "main.content" for all pages remaining home page. Currently, I am doing below code <referenceContainer name="page.wrapper"> &...
akgola's user avatar
  • 2,967