<?php if (isset($post)) { $f_opts = get_post_meta($post->ID, '_dt_layout_footer_options', true); } else { $f_opts = array(); } $show_widgetarea = empty($f_opts) || isset($f_opts['footer']) && 'show' == $f_opts['footer']; if (!(!$show_widgetarea && of_get_option('divs_and_heads-footer_wide_divider_hide_if_no_footer'))) { ?> background-image: <?php echo dt_style_options_get_image(array(), of_get_option('divs_and_heads-footer_wide_divider', 'none'), of_get_option('divs_and_heads-footer_wide_divider_custom'), of_get_option('divs_and_heads-footer_wide_divider_upload')); ?> background-position: <?php echo dt_style_options_get_bg_position('bottom', 'left'); ?> background-repeat: <?php echo of_get_option('divs_and_heads-footer_wide_divider_repeatx') ? 'repeat-x' : 'no-repeat'; ?> ; <?php } else { ?> background-image: none !important; <?php } ?>
?> <script type="text/javascript"> jQuery(document).ready( function() { initiate_parallax(<?php echo $animate; ?> ); }); </script> <ul id="parallax"> <?php foreach ($parallax_lvls as $lvl_name) { $style = sprintf('background-image: %s', dt_style_options_get_image(array(), of_get_option($lvl_name . '-bg_image', 'none'), of_get_option($lvl_name . '-bg_custom'), of_get_option($lvl_name . '-bg_upload'))); $style .= sprintf('background-position: %s', dt_style_options_get_bg_position(of_get_option($lvl_name . '-bg_horizontal_pos'), 'top')); $style .= sprintf('background-repeat: %s;', of_get_option($lvl_name . '-bg_repeat')); ?> <li style="<?php echo $style; ?> "></li> <?php } ?> </ul> <?php }
background-position: <?php echo dt_style_options_get_bg_position(of_get_option('header_homepage-bg_horizontal_pos'), of_get_option('header_homepage-bg_vertical_pos')); ?> background-repeat: <?php echo of_get_option('header_homepage-bg_repeat'); ?> ; } /* background headers content background */ .not-responsive #bg { background-image: <?php echo dt_style_options_get_image(array(), of_get_option('header_content-bg_image', 'none'), of_get_option('header_content-bg_custom'), of_get_option('header_content-bg_upload')); ?> background-position: <?php echo dt_style_options_get_bg_position(of_get_option('header_content-bg_horizontal_pos'), of_get_option('header_content-bg_vertical_pos')); ?> background-repeat: <?php echo of_get_option('header_content-bg_repeat'); ?> ; } .contact-block span{ color: <?php echo of_get_option('fonts_content-primary_color'); ?> !important; }