changed sidebar h1 to h2, color white
authorAnthony Talarico <talarico@gaslightmedia.com>
Fri, 8 Jan 2016 16:18:11 +0000 (11:18 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Fri, 8 Jan 2016 16:18:11 +0000 (11:18 -0500)
css/app.css
js/app.js
js/custom/pageSetup.js
scss/_main.scss

index 9f877fb..c1b676a 100644 (file)
@@ -6789,9 +6789,9 @@ main.page-inside #main-content a {
       color: #FFFFFF; }
       .side-links li a:hover {
         color: #bc593a; }
-  .side-links h1 a {
+  .side-links h2 a {
     color: white; }
-  .side-links h1 {
+  .side-links h2 {
     padding-left: 15px; }
 
 #slideshow {
index 747511f..e4fce24 100644 (file)
--- a/js/app.js
+++ b/js/app.js
@@ -82,6 +82,10 @@ $(document).ready(function () {
         .css("-moz-columns", "1");
     $menu6
         .css("-moz-columns", "1");
+    // change sidebar h1 to h2
+    $(".side-links").find("h1").replaceWith(function(){
+        return $("<h2 />", {html: $(this).html()});
+    });
     
     // current page active link highlighting
     $('.side-links ul li a').each(function() {
index a026b2a..9e1c708 100644 (file)
@@ -73,6 +73,10 @@ $(document).ready(function () {
         .css("-moz-columns", "1");
     $menu6
         .css("-moz-columns", "1");
+    // change sidebar h1 to h2
+    $(".side-links").find("h1").replaceWith(function(){
+        return $("<h2 />", {html: $(this).html()});
+    });
     
     // current page active link highlighting
     $('.side-links ul li a').each(function() {
index 917a897..04578da 100644 (file)
@@ -343,10 +343,10 @@ main.page-inside {
             }
         }
     }
-    h1 a{
+    h2 a{
         color: white;
     }
-    h1{
+    h2{
         padding-left: 15px;
     }
 }