Fix CSS. Add settings as variable for templates