Skip to content
This repository was archived by the owner on Jul 19, 2021. It is now read-only.

Commit

Permalink
Merge pull request #198 from Shopify/update-settings
Browse files Browse the repository at this point in the history
Update settings for header section
  • Loading branch information
t-kelly authored Jul 14, 2017
2 parents e4aee69 + 9390c7c commit 06a421e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
16 changes: 7 additions & 9 deletions src/sections/header.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@
max-width: {{ section.settings.logo_max_width }}px;
}
{% endif %}
{% if section.settings.align_logo == 'left' %}
.site-header__logo-image {
margin: 0;
}
{% endif %}
</style>
<div data-section-id="{{ section.id }}" data-section-type="header-section">
<header role="banner">
Expand Down Expand Up @@ -121,10 +115,14 @@
"label": "Logo image"
},
{
"type": "text",
"type": "range",
"id": "logo_max_width",
"label": "Custom logo width (in pixels)",
"default": "250"
"min": 50,
"max": 450,
"step": 10,
"unit": "px",
"label": "Custom logo width",
"default": 250
},
{
"type": "link_list",
Expand Down
1 change: 1 addition & 0 deletions src/styles/modules/site-header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@

img {
display: block;
width: 100%;
}
}

0 comments on commit 06a421e

Please sign in to comment.