Questions tagged [default.xml]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
5 votes
5 answers

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

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

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

<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

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

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,897