title: CSS / Style Heading Tags
body: <p>I tried many css from other places and stackoverflow, but somehow I can not make it done.</p>
  
  <p>I'm very new to css, and using Joomla and a template. I'm using custom.css folder for certain customizations on style. Here is I want to do:</p>
  
  <p>I want to style h5 when it is a link.</p>
  
  <p>For example, I'm creating a custom html module, have a list in the content. And in the content I'm giving each, h5 style, and a link to it to a certain page in the site.</p>
  
  <p>What I want to achieve is to have this list with color blue. And when mouse over-hover to have underline and still the same color. And when clicked back to the original position with no underline and no color change. (the same color in every situation, just underline when you are over it.)</p>
  
  <p>I tried these h5, h5 a, h5 a: hover, h5 .contentheading a, and so on...</p>
  
  <p>In one instance, it was working with :</p>
  
  <pre><code>h5 {
    font-family: arial, sans-serif;
    font-size: 1.3em;
    font-weight: bold;
  }
  
  h5 a {
    color: #0088CC;
  }
  
  h5 a: hover {
    color: #0088CC;
    text-decoration: underline; 
  }
  </code></pre>
  
  <p>As I read I should use 'a' when the heading is a link.</p>
  
  <p>But now something is overriding it, I'm completely lost now. </p>
  
  <p>I see a:hover style in the inspection.</p>
  
  <p>I want to use this h5 in several content (in custom modules) when I want to style a content as a list to links. And I thought it will be practical to have one heading with a certain style so that I can use it with flexibility.</p>
  
  <p>Thanks a lot, any help will be great : )</p>