Thread Starter
szalmo
(@szalmo)
look at this:
https://www.w3schools.com/bootstrap/tryit.asp?filename=trybs_affix&stacked=h
you see that when the navigation sticks attach to the top of the window the text “Some text to enable scrolling” doesn’t have any jump
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
yes i don’t edit functions.php – if the file exist in the child theme then the site loads this one…
I don’t know the answer to that but hopefully someone will reply with better insight. To me that defies my logic and experience.
mmmm… no i think the content div has to smoothly scroll indipendently from the navigation bar… i don’t know how to explain…
Oh, did it smoothly scroll before you made these modifications? As in, with a clean install does the theme smoothly scroll? I’m trying to distinguish whether you’re experiencing a bug or a design choice.
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
yes i don’t edit functions.php – if the file exist in the child theme then the site loads this one…
I don’t know the answer to that but hopefully someone will reply with better insight. To me that defies my logic and experience.
Okay I’ve just received some clarifications about that and indeed this is how it’s meant to work:
In Twenty Seventeen global.js is loaded via get_theme_file_uri(), which is a new function in 4.7.0: https://developer.ww.wp.xz.cn/reference/functions/get_theme_file_uri/
https://wordpress.slack.com/archives/C02RQC6RW/p1507294571000036
https://core.trac.ww.wp.xz.cn/ticket/18302
Cool!
Thread Starter
szalmo
(@szalmo)
good. i stop bother you, i will try to fix it but it’s not tht important 🙂
thank you very much for your help, bye