Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Fixed on the header on mobile device › Reply To: Fixed on the header on mobile device
June 19, 2017 at 7:48 pm
#13684
Keymaster
Hi!
I’m sorry, I have probably looked at the wrong url by accident. I can see it now.
I’m guessing there might be something overriding the CSS, so this is what seems to be working for me (as a test):
[html]@media screen and (max-width:640px) {
.fixed-header-on .asp_main_container.wpdreams_asp_sc-2{
position: fixed !important;
top: 100px !important;
left:0 !important;
z-index: 999 !important;
width: 100% !important;
}
}[/html]
The .asp_main_container class is very important here, as otherwise it would affect the results container as well.