Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #817484

    I am currently building this site

    I have a code implemented into the custom css to show the logo at max size, however on mobile it is stretched and not conforming properly. Is there a mobile only code I can add to custom css so that it is normal size there?

    Thank you in advance

    #817723

    Hey dvus4l,

    You can put that custom CSS (which shows the logo at max size) inside this:

    @media screen and (min-device-width: 1024px) {
       YOUR CODE HERE 
    }

    This way it will only apply for desktops, and the normal size will appear on mobile.

    For more info on media queries, please see this reference: https://css-tricks.com/snippets/css/media-queries-for-standard-devices/

    I hope that helps!

    Best regards,
    Sarah

    #818029

    Hi Sarah

    Thank you for this – curious, what code would I place in the YOUR CODE HERE to ensure the mobile logo responds normally? If you can – check out how the site currently appears on mobile. Perhaps that may help with figuring out the correct solution.

    Thank you in advance

    #818070

    Hi,

    Ah, sorry, I’ll clarify. You cais that you have a code implemented into the custom css to show the logo at max size. This is the code that you will put in “YOUR CODE HERE”. This will restrict the change to desktops only, so that the normal size appears on mobile.

    I hope that’s more clear! :)

    Best regards,
    Sarah

    #822220

    Hi Sarah,

    I have done as instructed with zero results. The logo is still much too large on mobile

    #822468

    Hi,

    Would you be able to provide dashboard login info so we can log in and look into this issue further? Perhaps there is a current css error that may be preventing Sarah’s css from running.

    Best regards,
    Jordan Shannon

    #822827

    Hi Jordan,

    Please see in private

    Thank you in advance

    #822923

    Hi,

    Which code did you originally add to adjust the logo?

    Best regards,
    Jordan Shannon

    #824119

    Jordan,

    This is the original code .logo {height: 68px!important; max-height: 68px!important; width: 750px!important;}

    This is the code I had been instructed to include for the mobile `@media screen and (min-device-width: 1024px) {
    .logo {height: 68px!important; max-height: 68px!important; width: 750px!important;}
    }`

    Thank you in advance

    #824152

    Hi,

    Add the following to quick css:

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

    Best regards,
    Jordan Shannon

    #832350

    Hi Jordan,

    Firstly – thank you. Secondly, While the size did adjust – it is sitting a bit awkward on the mobile version. Is there a way to not only make it just slightly bigger, but to center it in that space? – I am not suggesting centering it on mobile, I’m speaking centering it vertically.

    Thank you in advance

    #832398

    Hi,

    Try to adjust the percentage and margin:

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

    Best regards,
    Jordan Shannon

    #833591

    Jordan,

    This is solved. Thank you again for your stellar assistance

    #833651

    Hi,

    No problem at all. I’m glad I was able to help you with this. If you need further assistance, please let us know in the forums.

    Best regards,
    Jordan Shannon

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Max Size logo on desktop – Too big on mobile’ is closed to new replies.