Stop "search"-Icon from moving in mobile view

GK User
Thu Jan 22, 2015 11:50 am
Hey guys!

I am working on a page here: http://cool-o-mat.com/zentrum/cms/

If I scale the window down to mobile/handy-szie, the search icon is no longer at the white top right corner - it swaps over the menue.

How can I prevent this from happening, so that it stays where it belongs to?

Thank you very much for your support!
User avatar
Expert Boarder

GK User
Fri Jan 23, 2015 8:05 am
Hi,
it's because you added your custom code
Code: Select all
#gkTopMenu {
    display: block !important;
}


To fix it in mobile,
please use this:

Code: Select all
@media only screen and (max-width: 440px)
 {
#gkTopMenu { max-width: 270px;}
}
User avatar
Platinum Boarder

GK User
Fri Jan 23, 2015 3:39 pm
That did the job for the search - great.
Unfortunately the Logo at the left disappears at the handy-resolution...
User avatar
Expert Boarder

GK User
Fri Jan 23, 2015 10:53 pm
Upsss, you're right. F#CK mobile.css
Let me fix it also.
@media only screen and (max-width: 444px) {
#gkTopMenu {
display: block !important;
max-width: 270px;
padding-top: 5px;
}

}


If won't help, please edit mobile.css, line ~20 and remove:
#gkTopMenu {
display: none;
}
User avatar
Platinum Boarder

GK User
Fri Jan 30, 2015 9:18 am
That did the job - great!
Thank you very much!
User avatar
Expert Boarder


cron