Last updated: Aug. 10, 2017
Element Requirements for Themes
Site owners build Weebly pages by dragging and dropping elements onto a page. Some of these elements are configurable. Your theme needs to be able to handle the different configurations. Review the main.less stylesheets for different themes to see how these elements can be styled.
In this topic:
Every theme must have 2 button colors (one regular and one highlight), as well as 2 sizes (small and large), so you need to create 4 different styles. Each of the 4 button styles needs to define a regular state, a :hover state (when the user's mouse is over) and an :active state (when the user presses down).
The Divider adds a horizontal line to the page. You need to provide the following styling:
- Line color
- Line weight
Form elements consist of a number input components (such as a dropdown), text (such as a label) and buttons. When adding the form to a page, users can decide which elements to use, and how to style them. Provide styling for the following:
© 2015-2017, Weebly, Inc.