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
/* ## Utility Header | |
--------------------------------------------- */ | |
.utility_header { | |
background-color: #00457c; | |
width: 100%; | |
} | |
.utility_header_wrap { | |
max-width: 1200px; |
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
<script> | |
// Create a clone of the menu, right next to original | |
$('.site-header').addClass('original').clone().insertAfter('.site-header').addClass('cloned').css('position','fixed').css('top','0').css('margin-top','0').css('z-index','500').removeClass('original').hide(); | |
scrollIntervalID = setInterval(stickIt, 10); | |
function stickIt() { | |
var orgElementPos = $('.original').offset(); | |
orgElementTop = orgElementPos.top; |
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
.search-form { | |
position: absolute; | |
right: -50px; | |
top: 2px; | |
} | |
.search-form input[type="search"] { | |
background-color: transparent; | |
background-image: url(/wp-content/uploads/2016/03/search_icon.png); |
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
(function($){ | |
window.et_pb_smooth_scroll = function( $target, $top_section, speed, easing ) { | |
var $window_width = $( window ).width(); | |
if ( $( 'body' ).hasClass( 'et_fixed_nav' ) && $window_width > 980 ) { | |
$menu_offset = $( '#top-header' ).outerHeight() + $( '#main-header' ).outerHeight() - 1; | |
} else { | |
$menu_offset = -1; | |
} |
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
//The ACF widget | |
class ACF_Widget extends WP_Widget { | |
/** | |
* Register widget with WordPress. | |
*/ | |
function __construct() { | |
parent::__construct( | |
'acf_widget', // Base ID | |
'Work Logos', // Name |
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
/** Set Post Revisions to 10 **/ | |
define('WP_POST_REVISIONS', 10); | |
/** Disable the File Editor in Dashboard */ | |
define('DISALLOW_FILE_EDIT', true); | |
/** Update the Auto Save to 2 hours */ | |
define('AUTOSAVE_INTERVAL', 7200); //seconds | |
/** Update PHP Memory Limit */ |
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
#title a { | |
background: url(http://rossoncpa.com/blog/wp-content/uploads/2016/10/rosson-logo.jpg) no-repeat !important; | |
background-position: center !important; | |
background-size: contain !important; | |
float: left; | |
min-height: 80px; | |
width: 100%; | |
} |
OlderNewer