Logo to big on mobile

GK User
Tue Aug 19, 2014 4:00 pm
Hi i had same problem with another template, the solution there was putting this in override:

@media (max-width:620px) {
#gkLogo.cssLogo {
margin-right: 0px;
max-width: 80%;
background-size: 100% !important;
}
}

This does not work for this template, is the code different?
User avatar
Expert Boarder

GK User
Tue Aug 19, 2014 4:41 pm
Could you please post an url to your site?
User avatar
Moderator

GK User
Tue Aug 19, 2014 6:26 pm
User avatar
Expert Boarder

GK User
Wed Aug 20, 2014 6:48 am
Here you have image type logo not css style logo, so the declaration needs to differ ;)
Code: Select all
#gkLogo img {
max-width: 100%;
}
User avatar
Moderator

GK User
Wed Aug 20, 2014 8:43 am
Ah ok :)

Even if i make the logo smaller, the menu on the iPhone is below the logo. It would look much nicer if it would next to the logo, same height.

See attachment.

vb1.JPG
User avatar
Expert Boarder

GK User
Wed Aug 20, 2014 6:25 pm
Try adding:
Code: Select all
@media (max-width:640px) {
#gkLogo {
max-width: 220px;
}
}

reduce 220px if needed.
But from what I see, it looks fine in iPhone. Perhaps it is cache issue?
User avatar
Moderator

GK User
Thu Aug 21, 2014 8:29 pm
adding that code and reducing the 200px didnt make any difference.

I use the website http://ipadpeek.com/ to so how it look on iphone/ipad.

On a real iphone it looks better i have seen, but the menu is a bit lower then the logo. It would be nice if the are just at the same height.

Is that aside menu normal on the phones? In your other templates the mobile menus look different.

thanks
User avatar
Expert Boarder

GK User
Fri Aug 22, 2014 6:55 am
The site you are using isn't a valid ipad/iphone emulator. I have checked the site on live device and browserstack and all looks fine.

To modify mobile menu trigger's position, use media queries same as in my first tip, just add this code:
Code: Select all
#gkMobileMenu {
margin: 10px 0 9px 0!important;
}

and modify margin top (10px) and bottom (9px) for different screen sizes.
User avatar
Moderator

GK User
Tue Aug 26, 2014 3:12 pm
So override.css will look like this:

Code: Select all
/* Here you can include your override CSS styles */
@media (max-width:640px) {
#gkLogo {
max-width: 220px;
}
@media (max-width:620px) {
#gkMobileMenu {
margin: 10px 0 9px 0!important;
}
}
User avatar
Expert Boarder

GK User
Tue Aug 26, 2014 3:25 pm
i think this works for me
Code: Select all
@media (max-width:620px) {
#gkLogo img {
max-width: 90%;
margin-top:14px;
}
}


This puts logo a bit lower next to menu
User avatar
Expert Boarder

GK User
Thu Aug 28, 2014 3:20 pm
Sometimes the numbers require a little bit of teak.
Is there anything else I can help you with regarding this topic?
User avatar
Moderator

GK User
Sat Aug 30, 2014 7:43 am
no sir! thanks!
User avatar
Expert Boarder


cron