Create a section

You can create sections in the developer directory or inside a layout. Start by creating a folder with the following structure:

The folder structure of section.

  1. Asset folder: includes section resource like images

  2. Components folders: includes the components of section

  3. liquid.json embed liquid to template

  4. Section.lh: Includes schema and code of this section

  5. Settings.js Settings for section

  6. Style.css: Stylesheet file of this section

  7. Thumbnail file

If you love LayoutHub, could you consider posting an review? That would be awesome and really help us to grow our business, here is the linkarrow-up-right.

Last updated