The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Fixed nav on scroll – content jumps. Reply To: Fixed nav on scroll – content jumps.


Just thought I’d ask (hopefully) one final question on this without starting a new thread, I know it’s been a while!

I’ve just applied a background image to one of the .band elements inline and it looks like the script strips the styling when it’s trying to calculate if it needs padding or not. Is it possible to only removing the padding or will I need to set the images in the CSS with a class/ID?

That wouldn’t be too bad but I thought I’d ask first as I think the client would like the image to be swapped out in the CMS so it would probably need to be inline unfortunately. What do you think?