Adapting Logo to Viewport

Hi Everyone,

I’m currently setting up a webpage and have a logo which I need to appear on the right side in the header. No matter the screen-size/ resolution, it should always be attached ot the right side of the frame.

Seeing that I’m not familiar with the coding knowledge required for this - could anyone help me out here? What can I add in Wix-Code to make that a reality?

Thanks a lot for your help!

Best
Alex

You could also try pinning the element to the screen instead if it is easier for you than to work it out using code, although note that it would not be pinned in mobile devices.

https://support.wix.com/en/article/pinning-an-element

https://www.wix.com/code/reference/$w.ViewportMixin.html