Skip to content

Commit cb811a9

Browse files
committed
Merge pull request #46 from SparkPost/issue-44
Ensure nav is not transparent on content pages
2 parents b1a6d40 + 2fa1e46 commit cb811a9

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

_layouts/default.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{% include base.html %}
44
{% include head.html base=base %}
55

6-
<body>
6+
<body class="{% if page.title == null %}page-home{% endif %}">
77
<div id="fb-root"></div>
88

99
{% include header.html base=base %}

_sass/_navbar.scss

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010
border: none;
1111

1212
@media screen and (min-width: $screen-sm-min) {
13-
background-color: transparent;
13+
.page-home & {
14+
background-color: transparent;
15+
}
1416
}
1517

1618
.navbar-brand {

0 commit comments

Comments
 (0)