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:
Button Element
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).
Gallery Element
Divider Element
The Divider adds a horizontal line to the page. You need to provide the following styling:
- Line color
- Line weight
- Spacing
Forms
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:
|