Skip to content

Commit

Permalink
Merge pull request #456 from JBLach/shifted-logo-fix
Browse files Browse the repository at this point in the history
shifted logo fix
  • Loading branch information
kpodemski authored Feb 17, 2023
2 parents 05f3c32 + 5d3565a commit 1c280c9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/scss/core/layout/_header-bottom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@ $component-name: header-bottom;
min-height: 4rem;
}
}

&__h1 {
font-size: unset;
}
}
2 changes: 1 addition & 1 deletion templates/_partials/header.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<div class="row align-items-center gx-2 {$headerBottomName}__row">
<div class="col-auto logo order-xl-1 ms-lg-0 ms-2 me-lg-0 me-auto">
{if $shop.logo_details}
{if $page.page_name == 'index'}<h1 class="mb-0">{/if}
{if $page.page_name == 'index'}<h1 class="{$headerBottomName}__h1 mb-0">{/if}
{renderLogo}
{if $page.page_name == 'index'}</h1>{/if}
{/if}
Expand Down

0 comments on commit 1c280c9

Please sign in to comment.