Adding Custom CSS stylesheet to Drupal Olivero theme

| Drupal Development | 341 seen

Just recently I migrated my blog from Drupal 7 to the Drupal 9 platform, and this time I decided to stick with what I get, instead of building it all from scratch.

I really like the default experimental theme Drupal Olivero, but of course, there are a few things I would love to fine-tune. 

Instead of building a theme from scratch I decided to apply a few customizations for the stylesheet, and here is how (this is not recommended as when upgrading your Drupal theme you will need to patch it again and you risk loosing your custom.css file). 

from the themes folder (core/themes/Olivero) 

sudo nano olivero.libraries.yml

and under the base settings:

    css/custom.css: {}


now, I have my custom css stylesheet added and I can start fine-tuning / overriding existing theme

 

Latest articles

Ādģēri: The 30K Mistake That Turned Into a Long-Term Experiment

In 2023, we bought Ādģēri in an online auction.Price: just over €30,000.Financing: ~6% interest.Total expected payment over ~5 years: ~€40,000.Status (April 2026): more than half already paid.On paper, it was a bad deal.Realistically, we overpaid by at least 5–6× relative to what the property was objectively worth at the time. No serious buyer…

Ādģēri |

Berlin Zoo and Aquarium: One of the Best Things To Do in Berlin With Kids

At the start of April 2026, during our roughly five-day trip to Berlin, we finally visited the famous Berlin Zoo for the first time - or at least the first time I can actually remember. There is a chance my mom might have taken me here sometime in the early 1990s, but if so, those memories are long gone. This visit felt completely new, and…

Germany |