Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #234454

    Hi there – we’re almost ready to go live but noticed that our logo isn’t sizing right in mobile view. I use custom CSS to re-size our logo to 370×120. I found another user here that had the same issue, so I used the code the moderators offered:

    @media only screen and (max-width: 767px) {
    .responsive .logo {
    height: 200px;
    }
    
    @media only screen and (max-width: 480px) {
    .logo, .logo img {
    max-width: 280px!important;
    }}

    Now, when holding the phone in landscape mode, the logo looks fine and isn’t stretched. But when holding in portrait mode, the logo is still cut off. The second clip of CSS fixed the other user’s issue, but it did not fix mine. Any suggestions?

    http://www.fpcosms.com/fpcnew

    #234685

    Hey stacyr311!

    How are you? I hope you’re doing well today.

    Please add this below:

    @media only screen and (max-width: 480px) {
    .responsive .logo img {
    margin: 0;
    max-width: 100%;
    }
    }

    Cheers!
    Ismael

    #234751

    Hi Ismael,

    Unfortunately, that code didn’t work for me. Logo is still cut off in responsive. Any other suggestions?

    #234755

    Hey!

    Please flush browser cache and refresh your page a few times. It seems like Ismael’s code works fine

    Cheers!
    Yigit

    #234770

    Yigit,

    I cleared the cache three times and the logo is still cutting off on the “I” in Presybterian. It looks fine when holding my phone in landscape…but in portrait is where it’s cut off. I’m using Safari on an iPhone 4S.

    #234922

    Hey!

    Please add following code to Quick CSS

    @media only screen and (max-width: 480px) { 
    .responsive .logo img {
    max-width: 80%!important;
    }}

    If that does not work, please check your custom CSS in Quick CSS, there may have been an issue

    Cheers!
    Yigit

    #235147

    Hmmm…it still didn’t work for me. Here’s the custom CSS that I used for 1) changing the size of the logo in the header 2) fixing the stretched logo in mobile view and 3) I think the other CSS was because the responsive menu was showing up on IE11 on my boss’ PC.

    .logo, .logo a, .logo img { width: 370px !important; height: 120px !important; max-width: 370px !important;}
    
    @media only screen and (max-width: 767px) {
    .responsive .logo {
    height: 200px;
    }
    
    @media only screen and (min-width: 990px) {
    #avia-menu {
    display: block !important;
    }
    
    #mobileMenu_avia-menu {
    display: none !important;
    }
    }
    
    @media only screen and (max-width: 480px) { 
    .responsive .logo img {
    max-width: 80%!important;
    }}
    
    
    #235541

    Hey!

    There is a curly bracket missing in your code. I have added them, please use following code

    .logo, .logo a, .logo img { width: 370px !important; height: 120px !important; max-width: 370px !important;}
    
    @media only screen and (max-width: 767px) {
    .responsive .logo {
    height: 200px;
    }}
    
    @media only screen and (min-width: 990px) {
    #avia-menu {
    display: block !important;
    }
    
    #mobileMenu_avia-menu {
    display: none !important;
    }
    }
    
    @media only screen and (max-width: 480px) { 
    .responsive .logo img {
    max-width: 80%!important;
    }}

    Best regards,
    Yigit

    #235989

    I replaced the code, cleared the cache a few times on my browser (Safari – iPhone 4S – iOS6) and it’s still cut off in portrait mode. I looked on a couple other devices (all iPhones) who have never looked at the site and it was cut off on theirs, too. Any other suggestions on what could fix this?

    #236355

    Hi!

    Do you mind creating a temporary admin login and posting it here privately so i can take a look?

    Best regards,
    Yigit

    #236396
    This reply has been marked as private.
    #237005

    Hi Yigit,

    Were you able to look at the Quick CSS? I’m trying to put the site live within the hour, so I didn’t want to be doing that if you were logged in. Please let me know.

    Thanks,
    Stacy

    #237010

    Hi!

    I have just logged in and fixed mobile menu issue and logo on mobile and checked it on my iphone. This is how it looks on my end http://i.imgur.com/RJO9hR7.png
    You can find custom CSS code i added on the top of Quick CSS section.

    Regards,
    Yigit

    #237022

    Great! Thank you so much – it is working on my end as well now! I appreciate your help!

    #237024

    Hey!

    You are welcome Stacy, glad we could help!

    Cheers!
    Yigit

Viewing 15 posts - 1 through 15 (of 15 total)
  • The topic ‘Issue with Logo in Mobile View’ is closed to new replies.