Hi guys,
Client wants all current items to fit on one line for the nav menu. I have tried editing CSS but for some reason I am not seeing the changes reflected. Here is the preview for the site, all help is appreciated in advance thank you!
Hi guys,
Client wants all current items to fit on one line for the nav menu. I have tried editing CSS but for some reason I am not seeing the changes reflected. Here is the preview for the site, all help is appreciated in advance thank you!
Hi @jcovo ,
Go to Online Store, then Theme, and select Edit Code.
Search for base.css/theme.css/style.css/main.css/custom.css file Add the provided code at the end of the file.
@media (min-width: 769px){
.list-menu--inline {
display: inline-flex;
flex-wrap: nowrap;
white-space: pre;
}
header.header {
max-width: 100% !important;
}
}
Hello @jcovo
Follow this steps:
1.Go to edit tab
.list-menu--inline {
display: inline-flex;
flex-wrap: wrap;
}
.list-menu--inline {
display: inline-flex;
flex-wrap: nowrap;
white-space: nowrap;
}
Result:
Hi @jcovo
You can make max-width so it will fit.
header.header {
max-width: 100%;
}
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
Hi @jcovo
I hope you are well. You can follow our instructions below:1/ Shopify admin > Online store > Edit code: https://prnt.sc/M4p-gua99Uf4
2/ Search for “theme.liquid” file: https://prnt.sc/b6xveIKe-Rh2
3/ Open the file and search for tag and add the following code above tag: https://prnt.sc/KWtKYyZkDtYJ
Here is the code for Step 3:
{% style %}
header.header {
max-width: unset !important;
}
{% endstyle %}
Please let me know if it works. Thank you!Best,
Daisy - Avada Support Team