Originally posted by **hrstoyanov** November 2, 2023
Hello,
I am new to IBM Carbon. I am trying the WebComponent v2 (latest) version for my app skeleton and noticed that if I copy any UI Shell [example from the docs ](https://web-components.carbondesignsystem.com/?path=/docs/components-ui-shell--header-base-w-navigation-actions) the side navigation misbehaves: when I expand it enough (at width breakpoint 1055px, I think), the header links start to show (correctly) , but the side navigation does not disappear! **Is this a bug/bad documentation**?
The weird thing is that you do not see this behavior when you try this in the storybook ...
I tried to fix this with the below, but it does not work:
```css
@media (width > 1550) {
cds-side-nav {
display: none;
}
cds-side-nav-items {
display: none;
}
}
```
Here is my code:
```html
Document[DEV]ProductsMessagesOrganzationFirstSecondThirdSome LinkOther Link
A. Lorem ipsum dolor sit amet consectetur adipisicing elit.
Possimus natus ut facilis quidem ducimus
necessitatibus ad porro quas cum accusamus illum, quaerat,
ullam aspernatur veritatis ex nulla voluptate,
mollitia alias.
B. Lorem ipsum dolor sit amet consectetur adipisicing elit.
Unde voluptatem beatae neque nihil amet,
fugiat libero molestias culpa. Perspiciatis dolores
assumenda distinctio quidem iste labore ipsum, sunt esse
impedit mollitia!
C. Lorem ipsum dolor sit amet consectetur adipisicing
elit. Sunt vero eum iusto, assumenda et, omnis
veritatis dolore sed nobis a voluptatem veniam debitis
atque voluptate suscipit laborum sint architecto rerum.
```
@hrstoyanov You're right about this bug. @sangeethababu9223 if you go to this story and view in mobile breakpoint, expand side nav, and switch to a desktop breakpoint, you'll see that both navigation menus appear (side nav should hide).
Discussed in https://github.com/carbon-design-system/carbon-for-ibm-dotcom/discussions/11089
Hm .. not sure this is just a documentation issue. I just tried the fix:
![Uploading Screenshot 2023-11-09 at 11.13.22 AM.png…]()
@hrstoyanov You're right about this bug. @sangeethababu9223 if you go to this story and view in mobile breakpoint, expand side nav, and switch to a desktop breakpoint, you'll see that both navigation menus appear (side nav should hide).
@kennylam yes, that is exactly my issue
I'll look into this @hrstoyanov. Thanks @kennylam