Skip to content

Powered by Grav

Howto theme

Based on Helios v2.1.17

Add custom CSS

Create the file /user/themes/howto/css/custom.css

Edit /user/themes/howto/howto.php; add the 2 last lines

PHP
/**
* Add CSS and JS assets
*/
protected function addAssets(): void
{
    $assets = $this->grav['assets'];
    $config = $this->grav['config'];

    // Add compiled CSS
    $assets->addCss('theme://build/css/site.css', ['priority' => 100]);

    // Add custom CSS
    $assets->addCss('theme://css/custom.css', ['priority' => 99]);

Any rule set in custom.css will then render client-side.

Remove inline code backticks

CSS
/* removing inline code backticks */
.prose :not(pre) > code::before, .prose :not(pre) > code::after {
    content: none !important;
}

© 2026 howto.cogip.be. All rights reserved.