tickletheory: (Default)
tickletheory ([personal profile] tickletheory) wrote in [community profile] style_system2019-01-04 11:02 am

Viewport meta tags disappear when 'Use layout's stylesheet(s)' is unchecked

Hi, I'm encountering a baffling but frustrating problem.

I'm using Custom CSS and I always uncheck Use layout's stylesheet(s) when styling layouts to avoid duplicating css. I've tried this on a few themes, and every time I do this, the meta tag for responsive mobile disappears.

<meta name="viewport" content="width=device-width, initial-scale=1.0"/>

just stops being rendered in the HTML.

Is there any way to put this back whenever I use custom CSS, without keeping Use layout's stylesheet(s) checked?
marahmarie: (M In M Forever) (Default)

[personal profile] marahmarie 2019-01-04 10:45 am (UTC)(link)
Just want to confirm I've had this problem too, and had to add viewport meta tags to custom s2 to work around it. I wrote about it here in early 2018 (flash on page load as talked about there is another thing; with Use Layout's Stylesheets kept checked, the user's overrides fill the page before the layout's stylesheet does).
momijizukamori: Green icon with white text - 'I do believe in phosphorylation! I do!' with a string of DNA basepairs on the bottom (Default)

[personal profile] momijizukamori 2019-01-07 05:50 pm (UTC)(link)

Ooh, thanks for the additional details!