I copy html file in www/categories.html and copy css,images, js,fonts, favicons, vendor and edit path of css and js then paste to my php page view.
but they display incorrect: menu is move a lit bottom and have inline css injection(like attactment 1), what haapen? and how to fixed.
Attached files: 2.jpg 1.jpg
I can't support any modified code, because no way to know how your dependencies affects on the template.
It's hard to understand your case without full code, looks like you move header without container inside of it.