Fixes rem calc function and adds WP header and footer