Skip to content

Commit

Permalink
Adjusted the logo wrapper placement
Browse files Browse the repository at this point in the history
  • Loading branch information
Misplon committed Jan 31, 2019
1 parent 44696ac commit a7f741c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion js/north.js
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ jQuery( function( $ ) {
scaledWidth = imgWidth * siteoriginNorth.logoScale,
scaledHeight = imgHeight * siteoriginNorth.logoScale;

$( ".site-branding" ).wrapInner( "<div class='site-branding-inner'></div>");
$( ".site-branding img" ).wrap( "<div class='custom-logo-wrapper'></div>");

var smResizeLogo = function() {
var $branding = $mh.find( '.site-branding > *' ),
Expand Down
2 changes: 1 addition & 1 deletion sass/site/primary/_masthead.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
}
}

.site-branding-inner {
.custom-logo-wrapper {
display: inline-block;
}

Expand Down
7 changes: 6 additions & 1 deletion sass/typography/_headings.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
h1, h2, h3, h4, h5, h6 {
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: normal;
font-family: $font__headings;
color: $color__text_dark;
Expand Down
2 changes: 1 addition & 1 deletion style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a7f741c

Please sign in to comment.