Debut - Header nested menu width adjustment

Hi,

I need help regarding the width of my nested menu, I have the code to edit the width of it but it does not auto adjust for each platform.

Code: theme.css

.site-nav__dropdown–centered {

top: 25px !important;

background-color: #000;

width: 65%;

As you can see the smaller my screen, it become dysfunctional and unable to scroll down on nested menu.

Hi @Godzhand

You can modify the CSS that works for different sizes of device.
Under theme.css you can find css mentioned with width of the menu and then modify the CSS.

Could you help me specify which code work for which platform? Basically, I am unsure how to edit for laptop. I found the mobile code but not for laptop.

Thanks.

Hello, I think you can add the css of width: 65% to the parent tag or parent’s parent.

Please share your sit URL for correct help.

url: animalvillageshop.com

pw: animalvillage

Hello,

I have checked your website menu. The drop down menu width will be equals to the main menu width on all screen sizes, as you reduce the screen size the menu width also decreases and the sub menu width fits inside the main menu width. I am sharing a code with you, please add this in assets → theme.css file at end of the file.

.site-nav__dropdown--centered {
    top: 25px!important;
    background-color: #000;
    width: 100%;
    left: 0 !important;
    border: 0;
}
.site-nav__childlist {
    width: 100%;
}

Thank you.