fixed elements with template