$logocclass = 'col-md-4'; $menulclass = 'col-md-8'; } ?> <header id="kad-banner" class="banner headerclass kad-header-style-three <?php echo esc_attr($mstickyclass); ?> " role="banner" data-header-shrink="1" data-mobile-sticky="<?php echo esc_attr($msticky); ?> " data-header-base-height="<?php echo esc_attr($header_height); ?> "> <?php if (kadence_display_topbar()) { ?> <?php get_template_part('templates/header', 'topbar'); } ?> <style type="text/css"> .kad-header-style-three #nav-main ul.sf-menu > li > a {line-height:<?php echo $header_height; ?> px; } </style> <div id="kad-shrinkheader" class="container" style="height:<?php echo esc_attr($header_height); ?> px; line-height:<?php
function kadence_header_height() { global $pinnacle; if (kadence_display_topbar()) { if (isset($pinnacle['topbar_height']) && isset($pinnacle['header_height'])) { $output = $pinnacle['topbar_height'] + $pinnacle['header_height']; } else { $output = '120'; } } else { if (isset($pinnacle['header_height'])) { $output = $pinnacle['header_height']; } else { $output = '120'; } } return $output; }