diff --git a/doc/_extensions/odoo/static/typography.less b/doc/_extensions/odoo/static/typography.less
index bcf7fef2acfd580c03c9e1fb0534bdb00f47b164..32fb821f8f0b443705e32b978c8404a8134f503a 100644
--- a/doc/_extensions/odoo/static/typography.less
+++ b/doc/_extensions/odoo/static/typography.less
@@ -18,7 +18,7 @@ h1, h2, h3, h4, h5, h6,
     line-height: 1.4;
 
     @media (min-width: @screen-lg-min) {
-        .has_code_col &{
+        .has_code_col .doc-aside &{
             color: white;
         }
     }