Trying to "dynamically" use a CSS according to the layout