SOLVED different logo sizes on desktop and mobile device
Posted 10 years 9 months ago
Is it possible to use different sizes for the logo on desktop and mobile devices. I am using the Gantry 4.1.20 template with custom css.
The logo I'm using has a width of 469 px and does'nt fit on a device that is less wide.
I use ".logo-type-custom a {max-width: 100%;}" but that just cuts the sides of the logo image!
See:
84.244.186.80/~joann/
Re: different logo sizes on desktop and mobile device
Posted 10 years 9 months ago
I think I did'nt make myself clear enough. The meaning is to use a different size logo on a phone. Because the one I use is to large. I am seeking a way to shrink the logo to fit in the device.
On the Iphone both sides of the image are cut off.
I guess it's better to use two modules with different sized logo images and then hide or reveal them on the proper device
Re: different logo sizes on desktop and mobile device
Posted 10 years 9 months ago
That is because I don't use the logo feature of the gantry template any longer. Added a custom module with just the logo image in it. The bootstrap css makes sure that it only takes 100% of the possible width. "img{width: 100%;}" But I really think the Gantry template should take care of this matter.
The same for the mobile menu as a Selectbox. You have to add custom css to make it show up with ".gf-menu-toggle {z-index:99;}