• I have added a facebook button to my header and it also resizes according to the screen size. I’m only struggling with keeping it on the same position … When I have a smaller screen it’ll move down. Any suggestions on how to get it ‘fixed’?

    <a class="header-img-1" title="Facebook-header" href="https://www.facebook.com" target="_blank"><img src="https://www.gelnagels-gina.be/wp-content/themes/optimizer/facebook.png"></a>
    
    .header-img-1 {
      left: 45%;
      width: 8%;
      height: auto;
      position: absolute;
      top: 72%;
    }

    website: https://www.gelnagels-gina.be

    Kind regards!
    Tom

  • The topic ‘Resize image and maintain position’ is closed to new replies.