FEATURE: replace background setting with upload (#7)
This commit is contained in:
parent
205ead43f9
commit
703d7c4dd6
|
|
@ -8,7 +8,7 @@ $max-width: 600px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.custom-search-banner-wrap {
|
.search-banner {
|
||||||
@if $background-image != "none" {
|
@if $background-image != "none" {
|
||||||
background-image: url($background-image);
|
background-image: url($background-image);
|
||||||
} @else {
|
} @else {
|
||||||
|
|
@ -20,6 +20,9 @@ $max-width: 600px;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.custom-search-banner-wrap {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
position: relative;
|
position: relative;
|
||||||
padding: 2.5em 0 3em;
|
padding: 2.5em 0 3em;
|
||||||
|
|
|
||||||
|
|
@ -15,9 +15,9 @@ plugin_outlet:
|
||||||
- below-site-header
|
- below-site-header
|
||||||
|
|
||||||
background_image:
|
background_image:
|
||||||
type: string
|
type: upload
|
||||||
default: none
|
default: ""
|
||||||
description: Enter an image url
|
description: background image for the banner
|
||||||
|
|
||||||
tile_background_image: false
|
tile_background_image: false
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue