Text formatting changes main page