Adding Custom CSS stylesheet to Drupal Olivero theme

| Drupal Website Development | 339 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

 

Receive weekly trade ideas and portfolio adjustments directly to your inbox.

I share ongoing portfolio progress with a focus on generating income through covered calls on quality stocks. Each update includes positioning changes, trade rationale, and forward-looking adjustments based on current market conditions.

Latest articles

Building a Frame House in Latvia: Kitchen Installation, Ground Tilling & IKEA Trip

As usual, we planned our spring around the school break at BIST (British International School of Tbilisi). This year we again split the time — one week in Latvia working on the frame house in the west, and the other in Berlin for business meetings related to the translation company.Returning after winter always comes with surprises. This year didn…

Frame house - Capšu Zeme |

New Synagogue Berlin

The New Synagogue in Berlin is one of the city’s most recognizable historical landmarks, located on Oranienburger Straße, within walking distance of Alexanderplatz. Its striking golden dome rises above the surrounding buildings, making it visible from afar and hard to miss even during a casual walk through the neighborhood.Originally inaugurated…

Germany |