Skip to content

Instantly share code, notes, and snippets.

@corypina
Last active March 31, 2023 19:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save corypina/3ca5d60944d7c863c788ec7fa10f1cf8 to your computer and use it in GitHub Desktop.
Save corypina/3ca5d60944d7c863c788ec7fa10f1cf8 to your computer and use it in GitHub Desktop.
Beaver Builder Snippets
header.fl-builder-content {
position:relative;
}
header.fl-builder-content:before {
content: "";
background: rgba(255,255,255,0.52);
width: 100%;
height: 12px;
display: block;
z-index: 1;
position: absolute;
bottom: 25px;
transform: rotate(.4deg);
}
header.class,
header.class .fl-row-content-wrap {
background-color: rgba(8,8,8,0.35); /* or transparent */
position: absolute;
top: 0px; /* Or leave space for other element */
width: 100%;
z-index: 10;
}
/*
First content row of page needs large top padding to make space for header
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment