I'm using a large Icon from an icon font my client delivered as a header logo on the index page of a web app. The logo is as large as 60% of the device width and consists of a large round logo (about 40% of the icon) with text below and as wide as 60% of the device in portrait mode.
I got the logo with text as one vector icon font icon because the customer want's the text to be exactly as the brands CI demands.
_____###_____
____#####____
_____###_____
Slogan is here
It looks alright on the desktop preview and my google nexus 4 Dolphin Browser but in chrome (on the nexus) the slogan is cut off somewhat like this "Slogan is h". If I switch to landscape, it's displayed correctly again.
.header-box-logo {
color: #fff;
font-size: 6.4rem;
margin: 1rem auto;
display: inline-block;
}
[class^="icon-"], [class*=" icon-"] {
font-family: 'iconfontnamehere';
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
I'm using a custom version of foundation 5 and iconmoon. I can't show you a demo as all images are bound by the NDA.
I'm at a loss here, any idea why this happens?
font-size
unit? What happens if you useem
instead ofrem
, or evenpx
or something? (The latter might not be what you want, I assume, but just to see if this is a bug.) – Naldo