This theme is a work in progress effort for a Magento 2 theme based on GardnerFresh.com. This theme uses magento/blank
as a parent.
- Add
"kegdev/gardnerfresh_base": "dev-master"
to therequire
section of thecomposer.json
file in your install. - Add the following to the
repositories
section:
"gardnerfresh_base": {
"type": "git",
"url": "https://github.com/kegdev/theme-gardnerfresh-base"
}
- Run
composer upgrade
. - Go to your install's Admin and navigate to
Content >Themes
and confirm the theme appears. - Set your install to use the theme from
Content > Configuration
.
Use grunt? Add this to your themes.js
normally located at dev/tools/grunt/configs
.
gf_base: {
area: 'frontend',
name: 'GardnerFresh/base',
locale: 'en_US',
files: [
'css/styles-m',
'css/styles-l',
'css/email',
'css/email-inline',
'css/source/_extend',
'css/source/homepage',
'css/source/default'
],
dsl: 'less'
}
As of this release, you will need to manually add two static blocks needed for the homepage. XML reference
homepage-featured
- This occupies the hero section - currently a static span within a div. See the source for information on structure and font usage.homepage-products
- This renders products on the homepage. This utilizes the Catalog product List widget targeted to a specific category and the output is customizeable. See a tutorial on the process for more info.
- Mobile view has not been addressed in
_extend
imports. At all. - Add setup scripts for static blocks.
Enjoy this work in progress. :)