New Landing How can we help? Themeforest Theme Support Neighborhood Change Logo on Mobile Device

Viewing 15 posts - 1 through 15 (of 22 total)
  • #191184
    holger
    Member
    Post count: 20

    Hi there!
    Our Company is using a broad Logo wich is getting very small on mobile devices. Is there any possibility to change the Logo when the Screen is getting smaller?

    Thank you for your support!!
    Holger

    #191253
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Yes, we can create a workaround with css.
    Can you upload the desired logo for mobile and give us the full url that logo image?

    Thanks

    -Rui

    #191555
    holger
    Member
    Post count: 20

    Hi Rui!
    Thanks for your fast reply! The Path is http://hochzeitskartendesign.com/wp-content/uploads/2015/07/HKD-Slogan-rot-weiss-smartphone.png
    Will you set the image for smartphone or tablet devices? Is it also possible to position the Logo in center of the header?

    Thank you very much!
    Holger

    #191950
    Nishant – SUPPORT
    Spectator
    Post count: 649

    Hi Holger,

    Can you please provide your WordPress admin login details? (Mark it as private reply using option below)

    #191985
    holger
    Member
    Post count: 20
    This reply has been marked as private.
    #192141
    Nishant – SUPPORT
    Spectator
    Post count: 649

    Please use this custom CSS

    @media only screen and (max-width: 479px)
    #logo a:first-child {
      max-width: 100% !important;
    width:100%;
    }
    #192176
    holger
    Member
    Post count: 20

    Hi Nishtan!
    I’ve inserter the code to my childtheme-style but nothing happens. i am also wondering how this code can be able to change the logo …
    could you help me again?
    thanks!

    #192730
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Will forward this to Rui for you

    – Kyle

    #192738
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please use this logo:-

    @media only screen and (max-width: 767px) {
    #logo{
    background:rgba(0, 0, 0, 0) url(" http://hochzeitskartendesign.com/wp-content/uploads/2015/07/HKD-Slogan-rot-weiss-smartphone.png") repeat scroll 0 0 !important;
    }
    
    #logo img{display:none !important;}
    }

    Thanks
    Mohammad

    #216044
    rileyiwilliams
    Member
    Post count: 39

    Hi. I did the right thing and tried to find the answer to my problem, and I think this is the closest.

    I need a different image on mobile devices, but I want to be able to specify a width for the image instead of resizing the actual image file, so that it can look good on different screen widths.

    I’m using:

    @media only screen and (max-width: 767px) {
    #logo{
    background:rgba(0, 0, 0, 0) url(“//www.hereboy.com.au/wp-content/uploads/2015/09/webbanner-footer.png”) repeat scroll 0 0 !important;
    }

    But can’t get it to reduce to look right.

    Thanks

    #216048
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    If you are using the code you pasted above, then it’s missing a closing bracket at the end.
    Can you check this?

    -Rui

    #216049
    rileyiwilliams
    Member
    Post count: 39

    Oh yeah, I copied it wrong.

    @media only screen and (max-width: 767px) {
    #logo{
    background:rgba(0, 0, 0, 0) url(“//www.hereboy.com.au/wp-content/uploads/2015/09/webbanner-footer.png”) repeat scroll 0 0 !important;
    }

    #logo img{display:none !important;}
    }

    #216051
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Is it working now?
    Thanks
    Mohammad

    #216060
    rileyiwilliams
    Member
    Post count: 39

    Oh, no sorry I was unclear there.

    I already had/have:
    @media only screen and (max-width: 767px) {
    #logo{
    background:rgba(0, 0, 0, 0) url(“//www.hereboy.com.au/wp-content/uploads/2015/09/webbanner-footer.png”) repeat scroll 0 0 !important;
    }

    #logo img{display:none !important;}
    }

    but it needs something to make it fit right on the page.

    The site is: hereboy.com.au

    #216064
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please remove last css code and use this new code:-
    @media only screen and (max-width: 767px) {

    #logo{
    height: 100px;
    width: auto !important;
    background: transparent url("//www.hereboy.com.au/wp-content/uploads/2015/09/webbanner-footer.png") no-repeat scroll 0px 0px / 100% !important;
    }
    
    #logo img{display:none !important;}
    }
    }
    

    Thanks
    Mohammad

Viewing 15 posts - 1 through 15 (of 22 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register