Viewing 5 replies - 1 through 5 (of 5 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Easy if you use an image:

    img {
     max-width: 100%;
    }

    SideKick Dan

    (@shout-out-sidekick)

    Hello Niels,

    In your case i don’t think the img max-width technique will work. It seems that your template creates the logo into a background image for a div rather than just inserting an image. You’re best bet for your situation would be to add a media query to your css as seen below. after doing so, You have to create a smaller version of your logo, upload it to your server, and change the reference below to my website (where i uploaded a smaller version) to your website in the css below. If you need help, please let me know. I tested the changes in firebug and they work fine. just might have to tweak the exact size of the image. It won’t dynamically resize with the smoothness you’d like, but will accomplish the same thing on a mobile browser.

    @media screen and (max-width: 600px) {
    	#thelogo {width:350px !important; height:82px !important; background:url(https://shoutoutadvertising.com/images/bh-logo-350.png) no-repeat !important;}
      }

    Best Regards,
    Danny

    Just a note, you are using an older version of the theme, in the newer versions this isn’t an issue.

    Kadence Themes

    Thread Starter NielsVisser

    (@nielsvisser)

    Thnx for all the help. An theme update worked perfectly! ??

    Thread Starter NielsVisser

    (@nielsvisser)

    correction: An = A

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘scale logo for mobile devices’ is closed to new replies.