Skip to content

Instantly share code, notes, and snippets.

<?php
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );
remove_action( 'genesis_loop', 'genesis_do_loop' );
genesis();
?>
.label-fluid-page #inner,
.label-fluid-page #content-sidebar-wrap,
.label-fluid-page #content {
width: 100%;
max-width: 100%;
padding: 0;
}
.top-row-wrap {
background: #eee;
}
@DalavanCloud
DalavanCloud / Genesis-Dynamik Website Builder "Twitter Bootstrap" Column Class Styles The are the Genesis "Twitter Bootstrap" Column Class Styles found in Dynamik Website Builder as of DWB version 1.4.2
/* Column Classes
--------------------------------------------- */
.five-sixths,
.four-sixths,
.four-fifths,
.one-fifth,
.one-fourth,
.one-half,
.one-sixth,
<?php
get_header(); ?>
<div id="home-hook-wrap" class="clearfix">
<?php do_action( 'dynamik_hook_home' ); ?>
</div><!-- end #home-hook-wrap -->
<?php
get_footer();
?>
@DalavanCloud
DalavanCloud / Disable Responsive Design
Created March 7, 2019 02:22 — forked from cobaltapps/Disable Responsive Design
Disable Responsive Design Functionality in Dynamik Website Builder (used in a tutorial to disable Responsive Design on particular pages and posts).
<?php remove_action( 'genesis_meta', 'dynamik_responsive_viewport' ); ?>
<?php
add_action( 'wp_head', 'custom_genesis_page_builder_styles' );
/**
* Echo the necessary "Full Page Width" styles into the head of the page.
* Credit for the following CSS goes to the developer of the "Genesis Dambuster"
* Plugin as this CSS is an edited version of that Plugin's full-width.css file.
*/
function custom_genesis_page_builder_styles() {
echo '
<style type="text/css">
@DalavanCloud
DalavanCloud / genesis-sample-2.2.2-fixed-header.css
Created March 7, 2019 02:21 — forked from cobaltapps/genesis-sample-2.2.2-fixed-header.css
Genesis Sample 2.2.2 Fixed Header CSS (Header Height reduced to 80px)
/* Fixed Header */
.site-header {
min-height: 80px;
position: fixed;
width: 100%;
z-index: 999;
}
.site-header .wrap {
@DalavanCloud
DalavanCloud / genesis-sample-2.2.3-fixed-header.css
Created March 7, 2019 02:20 — forked from cobaltapps/genesis-sample-2.2.3-fixed-header.css
Genesis Sample 2.2.3 Fixed Header CSS (Header Height reduced to 80px)
/* Fixed Header */
.site-header {
position: fixed;
width: 100%;
z-index: 999;
}
.site-inner {
margin-top: 80px;
@DalavanCloud
DalavanCloud / Beaver Builder Theme Hooks Map Functions
Created March 7, 2019 02:20 — forked from cobaltapps/Beaver Builder Theme Hooks Map Functions
Paste the following into your Beaver Builder Child Theme's functions.php file to enable an action hooks map on the front-end of your site, visible only to logged in admins.
// Display BB action hooks on front-end of site (visible to logged in admins only)
function bb_theme_hooks_map() {
if ( ! current_user_can( 'administrator' ) )
return;
$hooks = bb_theme_hooks_array();
foreach ( $hooks as $hook => $value ) {
@DalavanCloud
DalavanCloud / Beaver Builder Theme Page HTML
Created March 7, 2019 02:19 — forked from cobaltapps/Beaver Builder Theme Page HTML
A stripped down mock-up of what a standard page's HTML looks like when the Beaver Builder Theme is active.
<body class="page page-id-623 page-template page-template-my-templates page-template-testing-template page-template-my-templatestesting-template-php logged-in admin-bar no-customize-support fl-preset-default fl-full-width" itemscope="itemscope" itemtype="http://schema.org/WebPage">
<div class="fl-page">
<header class="fl-page-header fl-page-header-fixed fl-page-nav-right">
<div class="fl-page-header-wrap">
<div class="fl-page-header-container container">