Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #316460

    Hi there!

    I’ve been testing my header on various display sizes.
    The header is responsive on various computer display sizes but not on phone display sizes: the size of the logo does not get smaller when displays are smaller, resulting in the logo being cut halfway instead of being shown entirely.

    Is there a way to force the logo to fit in the width of the browser window?

    Thank you!!

    CB

    #316467

    Hey CB!

    Please add following code to Quick CSS in Enfold theme options under General Stlying tab

    @media only screen and (max-width: 767px) {
    .responsive.html_header_top #header_main .social_bookmarks { top: 15%; }}
    @media only screen and (max-width: 480px) {
    .responsive .logo a, .responsive .logo img {
    max-width: 85%;
    height: auto !important;
    margin-top: 5px !important; }}

    Best regards,
    Yigit

    #316478

    Hi Yigit,

    I didn’t notice any difference. The logo is still not showing entirely on all mobile phone displays.

    Can we try anything else?

    Thx!

    CB

    #316482

    Hey!

    Please flush browser cache on your mobile device and refresh your page a few times. It does work fine on my end now.

    Regards,
    Yigit

    #316498

    Hi Yigit,

    Emptied cache and checked again. What do you think of that?

    Google Chrome and Safari :
    Elements still overlapping when width between 480px and 760px.

    Firefox :
    width 600px : Menu still floating on top of logo
    width 790px : Social Media icons still floating atop of logo

    Best,

    CB

    #316506

    Hi!

    Have you tried checking your website on an actual mobile device? This is how it looks on my iPhone 4 – http://imgur.com/a/tiHcq
    You can see screenshot from both landscape and portrait modes

    Cheers!
    Yigit

    #316518

    Hi!

    No, I haven’t and I’m glad that it does display properly on your iPhone.

    Actually, I was resizing the browser on my iMac and the layout still doesn’t adapt very well in these cases:
    – when the width on Firefox is made smaller than 990px, the icons are overlapping the logo.
    – when the width on Chrome and Safari is made smaller than 766px, the logo is not shown entirely (the end of the name is missing – did you notice?).

    Thank you!

    CB

    #316717

    Hey!

    Please add following code to Quick CSS as well

    @media only screen and (max-width: 767px) {
    .responsive .logo a, .responsive .logo img {
    max-width: 90%;
    height: auto !important;
    margin-top: 5px!important;
    }}
    @media only screen and (max-width: 990px) {
    .avia-mozilla .social_bookmarks { top: 15% !important; }}

    Best regards,
    Yigit

    #317019

    Hi Yigit!

    Thank you for your patience. :-)
    I did add your code it but it’s still not working:

    on Chrome/Safari
    – when the window is between 480px and 760px, the social media icons are overlapping
    – when the window is smaller than 480px, the “T” of the name is hidden by the mobile menu

    on Firefox
    – when the window is between 480px and 760px, the “T” of the name is hidden by the mobile menu
    – when the window is smaller than 480px, the logo is hidden by the menu and the logo doesn’t fit in the window

    Thank you,
    Cheers

    CB

    #317593

    Hey!

    Please add following code to Quick CSS as well

    @media only screen and (max-width: 767px) {
    .responsive.html_header_top #header_main .social_bookmarks {
    top: 15px;
    }}

    and change “max-width: 90%;” in the previous code i posted to “max-width: 85%;”
    Cheers!
    Yigit

    #317633

    Hi Yigit,

    Thank you! It’s a lot better than at the beginning!

    My last doubt is for the smallest displays. Does it display properly on your iPhone or is the mobile menu overlapping the logo?

    Best thanks!
    CB

    #317651

    Hi!

    I wanted to check and post you screenshots but link you posted in your first post directs to landing page :)

    Cheers!
    Yigit

    #317688
    This reply has been marked as private.
    #318035

    Hey CB!

    Just checked your website on my iphone and this is how it looks on my end – http://imgur.com/a/fGqLJ
    Looks good. If you would like to move logo a bit down, please add following code to Quick CSS and adjust as needed

    @media only screen and (max-width: 767px) {
    .responsive .logo a, .responsive .logo img { margin-top: 5px !important; }}

    Regards,
    Yigit

    #318226

    Hi Yigit!

    WOW, amazing, now you’ve done an amazing job!! Thank you so much!!
    So, I stick to your code with 6px margin, it’s looking great like this.

    Thank you very much!!
    Warm regards,

    CB

    #318229

    Hey!

    You are welcome CB, always glad to help :)
    Let us know if you have any other questions or issues and have a nice weekend!

    Best regards,
    Yigit

Viewing 16 posts - 1 through 16 (of 16 total)
  • The topic ‘Logo does not shrink on smaller displays’ is closed to new replies.