Answer the question
In order to leave comments, you need to log in
How to update site styles?
The question of such a plan, you need to make minor css changes to the theme on Sage (Wordpress)
scss are located at the address if you look in the
webpack inspector: ///./styles/common/_global.scss
Well, the root folder with the template is package.json
and update.php with content
$cmd = 'yarn build';
exec( 'cd ' . __DIR__ . ' && ' . $cmd, $out, $res);
if ($res === 0) echo '<h1>OK!</h1>';
else echo '<h1>Fail!</h1>';
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question