# Conflicting declarations on two components: Full-width layout and header search

**URL:** <https://meta.discourse.org/t/conflicting-declarations-on-two-components-full-width-layout-and-header-search/269654>\
**Category:** Development\
**Created:** [June 26, 2023, 4:05pm UTC](https://meta.discourse.org/t/conflicting-declarations-on-two-components-full-width-layout-and-header-search/269654 "2023-06-26T16:05:19Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![manuel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/manuel/32/468169_2.png) [@manuel](https://meta.discourse.org/u/manuel)\
**Post date:** [June 26, 2023, 4:05pm UTC](https://meta.discourse.org/t/conflicting-declarations-on-two-components-full-width-layout-and-header-search/269654/1 "2023-06-26T16:05:19Z")

</div>

It seems both components re-arrange the `.contents` div in the header.

The structure with the full-width layout:  
 ![image](https://global.discourse-cdn.com/meta/original/4X/3/9/a/39a63ffa88003611c08daca50e38950b09cdcbb5.png)

Structure with header-search:  
 ![image](https://global.discourse-cdn.com/meta/original/4X/1/f/9/1f9f0589aa54f38f7741d2a14fa46ed0c2c7b2d3.png)

So I can’t use them together. But not sure where to best fix this?

---

_[View the full topic](https://meta.discourse.org/t/conflicting-declarations-on-two-components-full-width-layout-and-header-search/269654)._
