This article was last updated on the October 12, 2017.
The Counter element is available across all three builders. The Content Builder, the Header Builder and the Footer Builder. The purpose of the element is to output a counter that can display to your visitors and count up with an animated effect, either with or without additional text above and below.
First of all you'll see the Apply Preset option, but just what is a preset? A preset is a pre-configured option pack of sorts. When you apply the preset all the controls are automatically changed to the specified value in the presets. Right now the presets represent each different stack. Providing quick starting points for getting your elements styled perfectly to match your stack. Apply a preset and then tinker to your hearts content.
All elements come with a range of different controls and the Content Area element is no different. While many of the controls are self explanatory in what they effect, we'll cover the basics and any major points you need to be aware about in each article. Every article will also cover the basics such as Flexbox, Interactions and more!
Just what is Flexbox and what makes it so flexible? Flexbox is a layout mode intended to accomodate multiple elements on a page in different configuration layouts for a variety of screen sizes. It's generally easy to work with once you get to grips with it and provides an array of configuration elements for start positions, end position and everything in between.
While Flexbox may seem daunting at first. Don't worry! There are a range of multiple tutorials online and in all our builders we have multiple configuration options that means you never have to touch a line of code! So you properly understand Flex options, we'd recommend having a ready up over here: https://css-tricks.com/snippets/css/a-guide-to-flexbox/ on how exactly Flexbox works. While you don't need to worry about the code side. It's important to have a basic grasp of how Flexbox works to make the most of the builders. Or of course there's always the trial and error approach.
Throughout the elements you'll see options for interactions, but just what are interactions? Interactions generally means when an element is being interacted with. Such as on hover. For example on a Background Color option you'll have the Base option which is the main background color of the element. Then you'll have the Interaction option, setting this to a different color from base will display a different color on hover.
You'll also see interactions for icons where you can swap out icons on hover. Allowing you to configure different options for on hover. Making for some great effects with swapping out icons on hover.
Margins and paddings. EMs, REMs, Pixels and more!
With all the margins, paddings and other height and width based options, along with some sizing options. You'll see the option to change the actual unit value. This means you might set one control to be 2.5 EMs such as the width. But then on your margin you might set it to be 50px. The available unit options are:
Keep in mind wherever you see an option for unit values just click the current unit value like this:
One thing you'll see in common across multiple controls is the ability to link sides. This means that if you link sides on the padding controls, all the padding controls will be the same value. However if you unlink the padding controls, you can then control each side independently allowing for greater control.
If you have link sides on for the respective set of controls you will not see the individual options.
Many of the elements use what's known as the "Particles Partials". But just what are Particles and how can use them? Check out our great mini video series over on this KB article.
Like the other elements, controls are broken down into multiple parts including:
The main controls you need to pay attention to are the setup controls as these provide options for the number start and end, along with any prefix and suffix you want and the duration of the counter animation.
You'll also want to make sure to take a look at the control called Text Above & Below Setup as enabling this will allow you to add additional text to the counter element to display either above the counter or below the counter. Bringing extra variety to your design.
The rest of the options provided are reasonably self explanatory and covered at the start of this article.