diff --git a/ippisite/ippidb/templates/compound_card.html b/ippisite/ippidb/templates/compound_card.html
index 2f0969a9ff1dfdbce03789ca241ec7b5475d47d7..a727870404a777a8399aed2110a823a588438ff0 100644
--- a/ippisite/ippidb/templates/compound_card.html
+++ b/ippisite/ippidb/templates/compound_card.html
@@ -31,11 +31,12 @@
       {{ compound.id }}{% endblock %}
     </div>
   </nav>
-  <div class="container-fluid inner-wrap compound_header_title" id="compound_header_title" style="margin-bottom: 18px; border-radius: 3px; box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.2);">
-    <div class="row" style="display: flex;">
+  <div class="container-fluid inner-wrap compound_header_title" id="compound_header_title" style="margin-bottom: 18px; border-radius: 3px; box-shadow: 0 3px 11px 0 rgba(0, 0, 0, 0.2);">
+    <div class="row">
       {% include "compound_smiles_draw.html" with id=compound.id smile=compound.canonical_smile width=150 height=150%}
-      <div class="{% if compound.is_validated is False %}bg_warning{% endif %}" style="margin: auto;">
-        <h1 class="page-title">Compound {{ compound.id }}</h1>
+      <div class="{% if compound.is_validated is False %}bg_warning{% endif %}" style="display: flex;
+      align-items: center;">
+        <h1 class="page-title" style="margin: 0;">Compound {{ compound.id }}</h1>
         {% if compound.is_validated is False %}
         <h3 class="ml-2">This compound has not been validated by a curator yet, data might be incomplete or
           inaccurate</h3>