Other Yields‹ Back
You can apply a custom class to your body element by using
:body_class. This is helpful if you need to alter something in the global layout just for one page.
<%- content_for :body_class, "other-yields" -%>
You can also apply a different class to your
.layout--main element which is what controls the top and bottom padding between your page and header/footer.
<%- content_for :layout_class, "layout__flush" -%>