Add left-shift class for hero image position adjustment

master
Nikola Forró 7 years ago
parent 564dbf99f5
commit 2078294d01

@ -13,7 +13,7 @@ form:
type: text type: text
label: Hero Classes label: Hero Classes
markdown: true markdown: true
description: 'There are several Hero class options that can be listed here (space separated):<br />`text-light`, `text-dark`, `title-h1h2`, `parallax`, `overlay-dark-gradient`, `overlay-light-gradient`, `overlay-dark`, `overlay-light`, `hero-fullscreen`, `hero-large`, `hero-medium`, `hero-small`, `hero-tiny`<br />Please consult the [Quark documentation](https://github.com/getgrav/grav-theme-quark#hero-options) for more details.' description: 'There are several Hero class options that can be listed here (space separated):<br />`text-light`, `text-dark`, `title-h1h2`, `parallax`, `overlay-dark-gradient`, `overlay-light-gradient`, `overlay-dark`, `overlay-light`, `left-shift`, `hero-fullscreen`, `hero-large`, `hero-medium`, `hero-small`, `hero-tiny`<br />Please consult the [Quark documentation](https://github.com/getgrav/grav-theme-quark#hero-options) for more details.'
header.hero_image: header.hero_image:
type: filepicker type: filepicker
label: Hero Image label: Hero Image

@ -8,7 +8,7 @@ form:
type: text type: text
label: Hero Classes label: Hero Classes
markdown: true markdown: true
description: 'There are several Hero class options that can be listed here (space separated):<br />`text-light`, `text-dark`, `title-h1h2`, `parallax`, `overlay-dark-gradient`, `overlay-light-gradient`, `overlay-dark`, `overlay-light`, `hero-fullscreen`, `hero-large`, `hero-medium`, `hero-small`, `hero-tiny`<br />Please consult the [Quark documentation](https://github.com/getgrav/grav-theme-quark#hero-options) for more details.' description: 'There are several Hero class options that can be listed here (space separated):<br />`text-light`, `text-dark`, `title-h1h2`, `parallax`, `overlay-dark-gradient`, `overlay-light-gradient`, `overlay-dark`, `overlay-light`, `left-shift`, `hero-fullscreen`, `hero-large`, `hero-medium`, `hero-small`, `hero-tiny`<br />Please consult the [Quark documentation](https://github.com/getgrav/grav-theme-quark#hero-options) for more details.'
header.hero_image: header.hero_image:
type: filepicker type: filepicker

File diff suppressed because one or more lines are too long

@ -57,6 +57,10 @@ section.section {
background-position: 50% 0; background-position: 50% 0;
&.left-shift {
background-position: 33% 0 !important;
}
//&.parallax { //&.parallax {
// background-attachment: fixed; // background-attachment: fixed;
//} //}

Loading…
Cancel
Save