Closed melchoyce closed 7 years ago
Is this deployed on w.org?
It could be wrapped in a HTTP_HOST
check, something along the lines of:
if ( false !== strpos($_SERVER['HTTP_HOST'], 'wordpress.org')) {
wp_enqueue_style( 'gutenbergthemeblocks-style', get_template_directory_uri() . '/overrides.css');
}
Not deployed yet, no. Thanks for the suggestion! @obenland does that look good to swap into my PR ^ ?
We've been trying to base dotorg themes on a common parent theme that handles those style overrides. For Gutenberg I had those styles compiled and added to the regular stylesheet. If you want I could just append those there?
That sounds like the way to go @obenland 👍
Yeah sounds good, thanks @obenland 👍
This was committed in https://meta.trac.wordpress.org/changeset/5822
Unsure if this should actually live in the theme or not, but I’ve added it here for record-keeping at least.