This is a simple builder that will allow you to build monster pages quickly with a few drag and droppable widgets
Install the page template
page.monster-page-1.liquid
Install the section
monster-blocks.liquid
Install the snippets
monster-block.liquid
monster_content_block.liquid
monster_cta_row.liquid
monster_fifty_fifty.liquid
monster_hero_block.liquid
Install the styles. the contents of this file must be placed in a .scss or .scss.liquid file. a .css file will not work. If there is no .scss file in the theme, create one and add it in the head.
This file can also be uploaded individually, just remember to reference it in the header if you take this approach.
monster_styles.scss
(the contents of this file can just be copied to the bottom of any .scss stylesheet. .css will not work)
once all files have been added to the theme you just need to add this snippet of code to theme.liquid file above the closing head tag and above all other stylesheets in the theme. This will ensure that the header/ footer on the monster pages doesn't get messed up.
This part only needs to be done if the theme isn't MadSections 1.7 or MadSections 2.0, or if the theme isn't using Bootstrap 4.
{% assign template_name = template.suffix | split: '-' %}
{% if template_name[0] == 'monster' %}
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
{% endif %}
This will ensure that the page that is using the builder will have bootstrap4 available for the grid.
Once these steps have been completed, you will have the monster page builder installed on a single template which can be used on one inner page.
To do additional inner pages, you will need to create a new template for each inner page.
To do this, you will need to duplicate and rename the template (ie monster-page-2 ) Then paste in the same code as the original monster page template incrimenting the reference to the section file by one (ie monster-blocks-2).
Then create a new section and name it 'monster-blocks-2' and paste in the same code from the original monster blocks section, but change the name of it (https://madshot.net/b08fe6fc7f3e.png) to "Monster Block 2"
Rinse and repeat, incrementing the number by one each time for the template name, section schema name, section file name, and section reference
- Changed some labels in the Monster Page builder to make more sense
- Added horizontal padding to fifty fifty row and content rows