XF 1.5 Change Logo based on screen size

squirrly

Active member
If the width of my logo exceeds 40% of the viewport, I want to swap to a different logo. Alternative would be for the logo to be resized so that it doesn't exceed that 40% number.

I've tried setting 40% on any number of things, but it doesn't seem to be affecting the logo; it's close to 60% of the screen width on mobile. Can anyone help?
 
Top Bottom