Last active
August 29, 2015 14:08
-
-
Save srikat/7eb213640912d9554f46 to your computer and use it in GitHub Desktop.
Re-creating Parallax Pro's homepage using Beaver Builder. http://www.sridharkatakam.com/video-re-creating-parallax-pros-homepage-using-beaver-builder/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Template Name: Beaver Builder Page | |
*/ | |
//* Force full width content | |
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' ); | |
//* Remove the breadcrumb | |
remove_action( 'genesis_before_loop', 'genesis_do_breadcrumbs' ); | |
//* Remove Entry Header | |
remove_action( 'genesis_entry_header', 'genesis_entry_header_markup_open', 5 ); | |
remove_action( 'genesis_entry_header', 'genesis_entry_header_markup_close', 15 ); | |
remove_action( 'genesis_entry_header', 'genesis_do_post_title' ); | |
genesis(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Beaver Builder Page Styling | |
--------------------------------------------- */ | |
/* .site-header { | |
position: static; | |
} */ | |
.fl-builder.full-width-content .content { | |
padding: 0; | |
} | |
.fl-builder .site-inner { | |
max-width: none; | |
margin-top: 0; | |
} | |
.fl-row { | |
text-align: center; | |
font-size: 28px; | |
} | |
.fl-row-bg-parallax, | |
.fl-row-bg-parallax h4 { | |
color: #fff; | |
} | |
.fl-row-bg-parallax a.button { | |
border: 3px solid #fff; | |
background: transparent; | |
padding: 15px 25px; | |
} | |
.fl-row-bg-parallax a.button:hover { | |
background: #fff; | |
color: #000; | |
} | |
.fl-row-bg-none a.button { | |
border: 3px solid #000; | |
background: transparent; | |
color: #000; | |
padding: 15px 25px; | |
} | |
.fl-row-bg-none a.button:hover { | |
background: #000; | |
color: #fff; | |
} | |
.fl-builder .entry-content ul { | |
margin-left: 0; | |
} | |
.fl-builder .entry-content ul > li { | |
list-style-type: none; | |
} | |
.pricing-table a.button { | |
background-color: #000; | |
color: #fff; | |
} | |
.pricing-table a.button:hover { | |
background-color: #f04848; | |
} | |
.fl-builder .simple-social-icons ul li a, | |
.fl-builder .simple-social-icons ul li a:hover { | |
padding: 30px; | |
} | |
.fl-builder .entry { | |
margin-bottom: 0; | |
} | |
@media only screen and (max-width: 768px) { | |
.site-inner { | |
padding: 0; | |
} | |
.fl-row-bg-none .fl-row-content-wrap { | |
padding-left: 5% !important; | |
padding-right: 5% !important; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment