Important! This documentation is old, and a lot has changed in HubSpot since we released Act version 1. If you are still using Act version 1 we recommend saving these pages for later reference. This documentation will be deleted soon.

How to add an overlay to the Hero banner

If you want to add a darker or brighter overlay to the entire Hero Banner, you can do so by editing your template and adding these classes to the Hero Wrapper group:

For a dark overlay:

overlay-dark overlay-60

For a white overlay:

overlay-white overlay-60

Example:

Act Theme - Hero Banner - Edit CSS Declarations

Act Theme - Hero Banner - Overlay

The overlay-60 class sets the overlay opacity level and can be replaced with one of the following classes, (05 means it is almost completely transparent, 95 is almost opaque):

overlay-05
overlay-10
overlay-15
...
overlay-85
overlay-90
overlay-95