Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS CSS override

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #253393

    Im new to CSS and trying to get the h2 tag text color to be blue, instead of the
    default black defined below. I tried changing it in the page with an h2

    .h2{font:300 20px Oswald, Helvetica, Sans-serif;padding-bottom:10px;color:#38A6DC;
    }
    

    but the page ignores the above statement, deferring to the CSS file.

    Here is the section of CSS that specifies H tag color;

    h1, h3, h4, h5, h6, #entries h3.post-title, #entries h3.post-title a, #entries h3.post-title a:active, .special-heading, #entries h1.page-title, #entries h2.page-title, #portfolio .folio-box h3.folio-title, #portfolio .folio-box h3.folio-title a, #portfolio .folio-box h3.folio-title:active {
        font-family: "Oswald", Arial, sans-serif;
        color: #000000;
    
    #filters li a, #content a.button, #slidecaption h2, #related-folio .folio-box h3.folio-title, #related-folio .folio-box h3.folio-title a, #related-folio .folio-box h3.folio-title:active {
        font-family: "Oswald", Arial, sans-serif;
    }
    
Viewing 1 post (of 1 total)
  • The forum ‘CSS’ is closed to new topics and replies.