title: Agm info window custom css
body: <p>I have created a agm-info-window that has an image and a small text (tittle):</p>
  
  <pre><code>&lt;agm-marker [latitude]="lat3" [longitude]="lng3" [iconUrl]="icon"&gt;
      &lt;agm-info-window [disableAutoPan]="true" [isOpen]="true"&gt;
          &lt;div routerLink="/sight/2"&gt;
              &lt;img src="assets/mesta/tvrdjava.jpg" alt="Image" width="80" height="80"&gt; &lt;br&gt;
              &lt;span class="window-title"&gt; Bubanj &lt;/span&gt;
          &lt;/div&gt;
      &lt;/agm-info-window&gt;
  &lt;/agm-marker&gt;
  </code></pre>
  
  <p>This is the result:</p>
  
  <p><a href="https://i.stack.imgur.com/CHnuF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CHnuF.png" alt="enter image description here"></a></p>
  
  <p><strong>I want to change the info window css.</strong> - The background color, remove the close button (x) and put the text in the center. Like so:</p>
  
  <p><a href="https://i.stack.imgur.com/AjbSK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AjbSK.png" alt="enter image description here"></a></p>
  
  <p>I get the correct effect when I set the CSS in Chrome's inspector. I set:</p>
  
  <pre><code>/* Remove the X, close button */
  .gm-ui-hover-effect {
      display: none;
  }
  
  .gm-style-iw {
      padding: 0;
      background-color: #AAAAAA;
      text-align: center;
      color: white;
  }
  
  /* remove overflow scroll */
  .gm-style-iw-d {
      overflow: none;
  }
  </code></pre>
  
  <p>But when I put this same css in the components css, it doesn't change at all, nothing changes.</p>
  
  <p>I don't have a lot of changes, so I would prefer not to use snazzy info window. I just want these small changes to the window. Is it possible ? Why is the css not working ?</p>