I am looking to make my header full-width so that the background color I added to my inline menu is full-width. I have added it to the custom CSS but I still cannot find where it is being overridden at. When I asked Bard/Google AI it says there is a max width of 1440 being pulled but when I check the base.css file I cannot find it.
Hi @krixizzle , can you share your store url?
@krixizzle , go to base.css and add the following code :
@media (min-width:990px){
.header {
padding-top: 0px;
padding-bottom: 0px;
max-width: 100%;
padding-left: 3px;
padding-right: 3px;
}
}
Where do i place this? At the end or near the other header properties?
@krixizzle , at the end of base.css file.
Added! I do not see it fixed though.
oh actually I do, it looks like the inline menu I have add a background to that is now not full width is there any way to get that adjusted?
@krixizzle , Add the following code :
@media (min-width:990px){
.header {
padding: 0 !important;
}
}
Result:
Just being a little extra since that worked perfectly, is there anyway i can change the font to white and make the hover stay white just bold while active?
@krixizzle , Add the following code :
span.header__active-menu-item {
color: #fff !important;
}
span.header__active-menu-item:hover{
font-weight:600 !important;
}
.header__menu-item span {
color: #fff !important;
}
You are amazing! Thank you so much for all your help!
@krixizzle , You’re very welcome.
