Skip to content

Commit

Permalink
Added default theme css to site themes for bits of css that we only w…
Browse files Browse the repository at this point in the history
…ant added when default theme is selected #1116
  • Loading branch information
FayCross committed Mar 9, 2023
1 parent 1a97a6b commit 3831205
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Expand Up @@ -235,7 +235,7 @@ function cssSetUp(param) {
$('head').append('<script src="'+ themePath + theme + '/'+ theme+ '.js"' + '</script>');
insertCSS(themePath + theme + '/' + theme + '.css', function() {cssSetUp('stylesheet')});
} else {
cssSetUp('stylesheet');
insertCSS(themePath + 'default/default.css', function() {cssSetUp('stylesheet')});
}
break;
case 'stylesheet':
Expand Down
5 changes: 5 additions & 0 deletions themes/site/default/default.css
@@ -0,0 +1,5 @@
.navbar .nav > li.activePage > a,
.navbar .nav > li.activePage > a:hover, .navbar .nav > li.activePage > a:hover {
background-color: #333;
text-decoration: none;
}

0 comments on commit 3831205

Please sign in to comment.