Tagged: , , ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #352577
    #352584

    Hi Prescott!

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

    @media only screen and (max-width: 480px) {
    .logo img { opacity: 0; }
    .logo a { background-image: url(https://kriesi.at/wp-content/themes/kriesi/images/logo.png); background-size: contain; background-repeat: no-repeat; background-position: 50% 50%; }}

    Cheers!
    Yigit

    #352660

    Thanks Yigit, that worked. I had to create a new image that was 340×156, though. Otherwise the same problem occurred where the logo would expand to the entire header and go behind the menu icon. I suppose I can experiment with aspect ratios — maybe trim that to 140 or 125 — but that’s for later.

    I also moved the image to the left positioning by using background-position: 0 50%; which worked fine. For now, it’s sorted.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Alternate logo for mobile?’ is closed to new replies.