Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur suscipit turpis eu egestas lacinia. Vivamus faucibus scelerisque leo, sit amet vulputate augue varius eget. Donec condimentum, nunc vel aliquam scelerisque, ante nisi hendrerit lorem, a consectetur tortor sem et nisi. Vestibulum ullamcorper feugiat dui, nec tristique ex.

Cras a purus sit amet quam fermentum lacinia. Etiam vitae ornare enim, a rhoncus elit. Suspendisse efficitur a augue et sagittis. Sed cursus sem in libero scelerisque dignissim. Sed sodales laoreet purus, in dignissim mauris tempus in. In ut pharetra nibh, sed mollis libero. Integer est ipsum, pellentesque in orci non, posuere vulputate diam. Maecenas gravida magna dolor, sed scelerisque mauris vestibulum non. Morbi congue quam sem, eget aliquet nisi varius vitae.

This is a heading

Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Ut id volutpat leo, a commodo quam. Pellentesque porttitor nulla quis finibus blandit. Sed dignissim libero id neque facilisis sagittis. Sed hendrerit ex laoreet ante porttitor, vitae tincidunt sapien mollis. Aenean eu ex lobortis, accumsan enim feugiat, tempor urna. Pellentesque dictum fringilla iaculis. Suspendisse sed tempor nulla, ac tincidunt ante. Integer elementum erat a suscipit pharetra. Suspendisse at blandit purus, nec tempor purus.

This is a subheading

Aliquam ullamcorper congue elit, a pretium dolor malesuada vel. Praesent placerat diam mauris, eu pellentesque enim aliquam at. Fusce purus metus, sollicitudin quis rutrum id, dapibus et ligula. Etiam eget convallis libero, vitae gravida elit. Pellentesque ut luctus ante, at fringilla ante. Mauris in nibh vel tortor consequat finibus. Nullam mi nibh, blandit tempor rutrum sed, tincidunt eu mi.

Note: This block is designed to be used within content when you want to bring attention to something, such as an optin form inside blog posts.

To use this block you must have Header/Footer Scripts enabled in Appearance > Kadence (this is a pro feature).

IMPORTANT – Copy the code from the Custom HTML block below into Kadence Block Controls > Page Scripts >Custom CSS & JS > Footer on this page, then delete the Custom HTML block. This code monitors the scroll position and allows the animation to function.

Editing:
The cta-wrapper row and the cta section are the containers that make this effect work. The row inside the cta section can contain any content you wish, it doesn’t have to be this optin form.

You may want to change the points at which the animation starts and stops. This is controlled by the JavaScript you add to the header and footer scripts within the page. This is the only part you need to edit:

rootMargin: “-30% 0px -30% 0px”,


The root margin values move clockwise: top, right, bottom, left. You can use % or px values, but I suggest you leave at % so it adapts well on mobile. Decrease the values to have the animation on screen for longer, and increase for shorter. The top and bottom values do not need to be the same.

Sign up to the newsletter

Unicorn air plant kogi food truck

Banh mi vegan pinterest franzen hell of, narwhal keytar intelligentsia chartreuse kickstarter prism master cleanse cred. Scenester wolf slow-carb, man braid woke paleo normcore.

Note: To use this block you must have Header/Footer Scripts enabled in Appearance > Kadence (this is a pro feature).

IMPORTANT – Copy the code from the Custom HTML block below into Kadence Block Controls > Page Scripts >Custom CSS & JS > Footer on this page, then delete the Custom HTML block.

This template is made up of 2 sections within a parent row. The first section contains the HTML to create the bar container. The second section is for your content. You can add anything you like in this second section. A post (like the demo) or an optin form, or anything else. Just be sure to leave the top section as it is.

You can adjust the height of the bar animation for desktop, tablet, and mobile.
There are a number of variables at the top of the CSS in the Custom CSS toggle of the parent row:

–bb-soundbar-1-height-desktop: 350px;
–bb-soundbar-1-height-tablet: 350px;
–bb-soundbar-1-height-mobile: 500px;

Change the values for each device size. The animated bars must have an explicit height set and you can use any unit EXCEPT %. (px, em, rem, vh, vw are all fine.)

If you want to change the colour and/or opacity of the animated bars you can so this within the variables at the top of the CSS also.

–bb-soundbar-1-background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 33%, rgba(255, 255, 255, 1) 66%, rgba(255, 255, 255, 0) 100%);
–bb-soundbar-1-opacity: 0.5;


The background variable defines the bars colour. I’m using a linear gradient which makes the bars fade at the top and bottom, giving them a softer effect. You can edit the gradient, replace with your own, or switch to a solid colour. Here is a handy gradient tool that will generate the required CSS for you: https://cssgradient.io

The opacity value can be adjusted to brighten or dim the animated bars.

Irony trust fund wolf, roof party pork belly microdosing humblebrag.

Small batch palo santo yr, mukbang tattooed raw denim bespoke yuccie. 90’s disrupt skateboard, art party PBR&B portland four loko chartreuse. Occupy offal bodega boys salvia hoodie. Irony viral neutra, vice keytar squid cold-pressed slow-carb heirloom sartorial adaptogen roof party. DIY you probably haven’t heard of them franzen activated charcoal food truck intelligentsia.
Firstname Lastname
Company

Tattooed 3 wolf moon intelligentsia, art party mukbang freegan pop-up glossier heirloom twee.

Marfa edison bulb kitsch heirloom, copper mug tbh gentrify lyft echo park asymmetrical freegan man braid synth. Coloring book brunch letterpress raw denim enamel pin plaid. Brooklyn skateboard blog asymmetrical. Hexagon single-origin coffee yes plz big mood flannel meditation disrupt normcore celiac. Pop-up DSA normcore chambray kale chips church-key skateboard selvage tote bag. Thundercats raw denim kickstarter keffiyeh salvia actually before they sold out taxidermy gentrify master cleanse portland iPhone crucifix big mood.
Firstname Lastname
Company

IPhone la croix deep v selfies schlitz.

Taxidermy gochujang quinoa edison bulb chillwave succulents waistcoat. Austin viral celiac twee adaptogen. Tumblr plaid VHS, sustainable vegan affogato 90’s. Vibecession retro ennui glossier, street art asymmetrical semiotics. Craft beer adaptogen affogato cornhole PBR&B vexillologist 8-bit hella migas.
Firstname Lastname
Company

Lumbersexual microdosing salvia distillery.

Coloring book roof party tumblr church-key retro everyday carry letterpress locavore heirloom mixtape four loko +1 adaptogen plaid pok pok. Pug beard tumblr four dollar toast twee chia farm-to-table fam sustainable disrupt 90’s keytar cloud bread thundercats. Chia live-edge sus bitters viral organic tilde 8-bit humblebrag portland. Affogato humblebrag pitchfork palo santo squid, truffaut whatever sartorial.
Firstname Lastname
Company

Pop-up lo-fi thundercats crucifix asymmetrical.

Farm-to-table air plant master cleanse echo park, cronut chicharrones kale chips. Authentic gluten-free butcher vegan. Art party kombucha cronut marfa. Readymade gastropub edison bulb, kale chips cronut kickstarter keytar.
Firstname Lastname
Company

Kinfolk try-hard cornhole church-key hoodie.

Sustainable hella tote bag shoreditch seitan direct trade occupy deep v lyft cronut. Hoodie man bun everyday carry flexitarian microdosing mustache. Af pug roof party, craft beer try-hard chia green juice lyft godard palo santo. Cliche pop-up live-edge gastropub hella, hexagon raw denim vegan vinyl fam tumblr poke cred.
Firstname Lastname
Company

Cray four dollar toast brunch man braid, chambray af chia tousled.

Praxis gluten-free farm-to-table tote bag normcore blue bottle everyday carry listicle swag copper mug. Green juice skateboard activated charcoal tumblr marfa gatekeep poke four dollar toast. Lo-fi asymmetrical godard you probably haven’t heard of them, subway tile portland try-hard vice kitsch distillery readymade letterpress locavore. Williamsburg cold-pressed pabst kale chips neutra. YOLO XOXO chicharrones DIY. Sartorial narwhal single-origin coffee knausgaard lumbersexual YOLO.
Firstname Lastname
Company

Hammock +1 beard pabst ugh distillery cred selfies.

Tilde meggings gentrify, chartreuse big mood hella 3 wolf moon bushwick man bun DSA raclette. Sartorial fingerstache DIY listicle, messenger bag ugh copper mug small batch viral. Celiac dreamcatcher helvetica squid, distillery heirloom direct trade. Brooklyn tonx umami 90’s.
Firstname Lastname
Company

Glossier man bun four loko yuccie bodega boys.

Pickled franzen ugh, mustache literally adaptogen sartorial bicycle rights succulents next level street art scenester pour-over. Polaroid dreamcatcher YOLO taxidermy church-key celiac yes plz, etsy lomo palo santo ugh DIY. Tacos XOXO ugh taiyaki you probably haven’t heard of them, pinterest mukbang chicharrones paleo. Wayfarers migas blue bottle scenester godard vaporware flexitarian DSA vegan mumblecore tote bag photo booth fixie green juice. Tbh bitters hoodie cloud bread, selfies ethical tonx slow-carb.
Firstname Lastname
Company

Poutine bicycle rights adaptogen lyft selvage, shoreditch cronut crucifix pickled tilde.

Photo booth mixtape fixie chia vape yr gluten-free squid synth poutine heirloom vexillologist post-ironic kitsch biodiesel. +1 chillwave leggings, hoodie vaporware taiyaki authentic readymade plaid fam fit letterpress celiac VHS. Next level tumeric drinking vinegar pop-up narwhal jianbing, polaroid vape trust fund ethical echo park neutra.
Firstname Lastname
Company

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *