Tagged: Firefox, Full Width Logo
-
AuthorPosts
-
November 21, 2015 at 10:54 pm #540272
Hi,
I have the logo set to custom height – 200px, I have the “Logo Center” “Menu below” option set.
I have the stretched layout set.
The header looks perfect on Firefox and Internet Explorer but on Chrome, the logo is resized and appears small & tiny?
My logo image is very large & I have uploaded a size of 3300px*200px, so it should display on any screen size.This is fairly urgent and would appreciate your help with this.
I have already added the following code to my custom css: (because I saw a note about this somewhere)
div#header_main .container {
width: 100%;
margin: 0;
}Thanks,
SaraNovember 21, 2015 at 11:44 pm #540284Adding this helped make it larger, but it still is not 200px tall and doesn’t extend to the entire screen on Chrome.
.html_header_top.html_logo_center.avia-webkit .logo {
left: 0%;
-webkit-transform: none;
-ms-transform: none;
transform: none;
}November 22, 2015 at 12:00 am #540288Ok, after more debugging, I find
adding:
.html_header_top.html_logo_center.avia-webkit .logo {
left: 0%;
-webkit-transform: none;
-ms-transform: none;
transform: none;
}
.container {
padding: 0px 0px;
}to my custom css, fixes it for the most part, but the height is still off on chrome.
This code will fully fix my issue on chrome, but messes things up on other browsers.
.logo img{
width: 100%;
height: 200px;
}November 22, 2015 at 12:17 am #540290I finally added this to fix only on Chrome:
@media screen and (-webkit-min-device-pixel-ratio:0) {
.logo img{
width: 100%;
height: 100%;
}}Please do let me know if there is a more elegant way to fix all this!
November 23, 2015 at 8:36 am #540558Hi,
Did your code work eventually? If not please post screenshots of the problem so that we can understand better. If your code works I would go with it :-)
Regards,
RikardNovember 23, 2015 at 7:22 pm #541126Hi, Rikard
The code I added fixed the problem. But is is a lot of custom css. :-)
Thanks
SarasNovember 23, 2015 at 9:22 pm #541168Hey Saras!
We would provide you the same code for the solution :)
Best regards,
YigitMay 2, 2016 at 4:43 am #625427Hello,
I found this code very helpful, however, I’m finding the problem still exists on Firefox. Here’s a screen shot of the same logo file being used on a “Boxed Layout”. https://www.dropbox.com/s/i8wjaakbf3svbyh/Logo%20not%20sized%20correctly.pdf?dl=0
The top screen shot shows the menu below the logo but the logo is NOT the full height of the header area.
The bottom screen shot show the menu above the logo and it is sized correctly.I’ve added the code you suggested above to my Quick CSS:
.html_header_top.html_logo_center.avia-webkit .logo {
left: 0%;
-webkit-transform: none;
-ms-transform: none;
transform: none;
}Let me know if you have a correction for Firefox browser and why it would show correctly when menu is above but not when menu is below.
Thank you,
OliviaMay 2, 2016 at 3:13 pm #625830Hi!
Please change the code to following one
.html_header_top.html_logo_center .logo { left: 0; -webkit-transform: none; -ms-transform: none; transform: none; }
Best regards,
YigitMay 2, 2016 at 7:01 pm #625977Many thanks! That works perfectly!
May 3, 2016 at 2:06 pm #626441 -
AuthorPosts
- The topic ‘Logo not showing at 100% width only on Chrome browser’ is closed to new replies.