Skip to main content

Hover effects on tiles and sections

Add color overlays, icon reveals, or text that activates when a visitor hovers over a tile or section.

Written by Troy Villasanta

Select elements can be targeted to have hover effects via the site editor by using CSS classes. More information about using CSS classes can be found in this article.

The CSS classes below can be used to give a hover effect to your target content:

.hover-effect .tile-caption {
bottom: -30%;
position: absolute;
background: #fff;
padding: 50px;
transition: all 1s;
}

.hover-effect:hover .tile-caption {
bottom: 0%;
position: absolute;
background: #fff;
padding: 50px;
transition: all 1s;
}

You can definitely play around with the property values of the CSS classes above to achieve your preferred effect.

There are two ways to add a custom CSS so the site can use it:

Once the CSS class is available for use, you can then associate it with your target content via the site editor.

In the example below, the CSS classes are added in the site editor and are applied to an image tile.

Did this answer your question?